Package org.datanucleus.exceptions
Class DatastoreReadOnlyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusUserException
-
- org.datanucleus.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
-
-
Field Summary
Fields Modifier and Type Field Description private ClassLoaderResolver
clr
private static long
serialVersionUID
-
Fields inherited from class org.datanucleus.exceptions.NucleusException
failed, fatal, nested
-
-
Constructor Summary
Constructors Constructor Description DatastoreReadOnlyException(java.lang.String msg, ClassLoaderResolver clr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoaderResolver
getClassLoaderResolver()
-
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
clr
private final ClassLoaderResolver clr
-
-
Constructor Detail
-
DatastoreReadOnlyException
public DatastoreReadOnlyException(java.lang.String msg, ClassLoaderResolver clr)
-
-
Method Detail
-
getClassLoaderResolver
public ClassLoaderResolver getClassLoaderResolver()
-
-