org.datanucleus.store.exceptions
Class DatastoreReadOnlyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusUserException
                      extended by org.datanucleus.store.exceptions.DatastoreReadOnlyException
All Implemented Interfaces:
java.io.Serializable

public class DatastoreReadOnlyException
extends NucleusUserException

Exception thrown when trying to update a datastores contents when it is read-only. The ClassLoaderResolver is used when converting for associated JDO exception.

See Also:
Serialized Form

Constructor Summary
DatastoreReadOnlyException(java.lang.String msg, ClassLoaderResolver clr)
          Constructor for an exception with a specified message.
 
Method Summary
 ClassLoaderResolver getClassLoaderResolver()
           
 
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatastoreReadOnlyException

public DatastoreReadOnlyException(java.lang.String msg,
                                  ClassLoaderResolver clr)
Constructor for an exception with a specified message.

Parameters:
msg - the detail message
Method Detail

getClassLoaderResolver

public ClassLoaderResolver getClassLoaderResolver()


Copyright © 2009. All Rights Reserved.