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:
java.io.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
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class org.datanucleus.exceptions.NucleusException
failed, fatal, nested
-
-
Constructor Summary
Constructors Constructor Description NoPersistenceInformationException(java.lang.String className)
Constructs an exception for the specified class.NoPersistenceInformationException(java.lang.String className, java.lang.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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NoPersistenceInformationException
public NoPersistenceInformationException(java.lang.String className)
Constructs an exception for the specified class.- Parameters:
className
- Name of the class
-
NoPersistenceInformationException
public NoPersistenceInformationException(java.lang.String className, java.lang.Exception nested)
Constructs an exception for the specified class with the supplied nested exception.- Parameters:
className
- Name of the classnested
- the nested exception(s).
-
-