Class ClassNotPersistenceCapableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOCanRetryException
javax.jdo.JDOUserException
org.datanucleus.api.jdo.exceptions.ClassNotPersistenceCapableException
- All Implemented Interfaces:
Serializable
public class ClassNotPersistenceCapableException
extends javax.jdo.JDOUserException
A ClassNotPersistenceCapableException is thrown if an attempt is made to persist an object whose class is not persistence-capable.
This may be because the class has not been appropriately enhanced to be made persistence-capable.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a class-not-persistence-capable exception with the specified detail message.ClassNotPersistenceCapableException
(String msg, Exception nested) Constructs a class-not-persistence-capable exception with the specified detail message and nested exception. -
Method Summary
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ClassNotPersistenceCapableException
Constructs a class-not-persistence-capable exception with the specified detail message.- Parameters:
msg
- The message
-
ClassNotPersistenceCapableException
Constructs a class-not-persistence-capable exception with the specified detail message and nested exception.- Parameters:
msg
- The messagenested
- the nested exception(s).
-