Class 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 Detail

      • 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).