Class ClassNotPersistableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusUserException
org.datanucleus.exceptions.ClassNotPersistableException
- All Implemented Interfaces:
Serializable
An exception thrown when an operation is invoked that requires a persistable object yet the object passed in
is not suitable. This usually means that it hasn't been enhanced.
- See Also:
-
Field Summary
FieldsFields inherited from class NucleusException
failed, fatal, nested -
Constructor Summary
ConstructorsConstructorDescriptionClassNotPersistableException(String className) Constructs a class-not-persistable exception with the specified detail message.ClassNotPersistableException(String className, Exception nested) Constructs a class-not-persistable exception with the specified detail message and nested exception. -
Method Summary
Methods inherited from class NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ClassNotPersistableException
Constructs a class-not-persistable exception with the specified detail message.- Parameters:
className- Name of the class
-
ClassNotPersistableException
-