Class NoPersistenceInformationException

  • All Implemented Interfaces:
    Serializable

    public class NoPersistenceInformationException
    extends NucleusUserException
    Exception thrown when a class is required to have persistence information (metadata/annotations) yet none can be found.
    See Also:
    Serialized Form
    • Constructor Detail

      • NoPersistenceInformationException

        public NoPersistenceInformationException​(String className)
        Constructs an exception for the specified class.
        Parameters:
        className - Name of the class
      • NoPersistenceInformationException

        public NoPersistenceInformationException​(String className,
                                                 Exception nested)
        Constructs an exception for the specified class with the supplied nested exception.
        Parameters:
        className - Name of the class
        nested - the nested exception(s).