Class DatastoreReadOnlyException

  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
All Implemented Interfaces:

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


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

msg - the detail message
Method Detail


public ClassLoaderResolver getClassLoaderResolver()

Copyright © 2010. All Rights Reserved.