Package org.datanucleus.exceptions
Class NoPersistenceInformationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusUserException
-
- org.datanucleus.exceptions.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 Summary
Constructors Constructor Description NoPersistenceInformationException(String className)
Constructs an exception for the specified class.NoPersistenceInformationException(String className, Exception nested)
Constructs an exception for the specified class with the supplied nested exception.
-
Method Summary
-
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoPersistenceInformationException
public NoPersistenceInformationException(String className)
Constructs an exception for the specified class.- Parameters:
className
- Name of the class
-
-