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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassNotPersistenceCapableException(String msg)
Constructs 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
-
-
-
-
Constructor Detail
-
ClassNotPersistenceCapableException
public ClassNotPersistenceCapableException(String msg)
Constructs a class-not-persistence-capable exception with the specified detail message.- Parameters:
msg
- The message
-
-