Class ClassNotPersistableException

  • All Implemented Interfaces:
    Serializable

    public class ClassNotPersistableException
    extends NucleusUserException
    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:
    Serialized Form
    • Constructor Detail

      • ClassNotPersistableException

        public ClassNotPersistableException​(String className)
        Constructs a class-not-persistable exception with the specified detail message.
        Parameters:
        className - Name of the class
      • ClassNotPersistableException

        public ClassNotPersistableException​(String className,
                                            Exception nested)
        Constructs a class-not-persistable exception with the specified detail message and nested exception.
        Parameters:
        className - name of the class
        nested - the nested exception(s).