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 Details

  • Constructor Details

    • ClassNotPersistenceCapableException

      public ClassNotPersistenceCapableException(String msg)
      Constructs a class-not-persistence-capable exception with the specified detail message.
      Parameters:
      msg - The message
    • ClassNotPersistenceCapableException

      public ClassNotPersistenceCapableException(String msg, Exception nested)
      Constructs a class-not-persistence-capable exception with the specified detail message and nested exception.
      Parameters:
      msg - The message
      nested - the nested exception(s).