Class ClassDefinitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusUserException
org.datanucleus.store.rdbms.exceptions.ClassDefinitionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PersistentSuperclassNotAllowedException
public class ClassDefinitionException
extends org.datanucleus.exceptions.NucleusUserException
A ClassDefinitionException is thrown if the settings of a
persistent class are inconsistent with it's metadata.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a class definition exception with no specific detail message.Constructs a class definition exception with the specified detail message. -
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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ClassDefinitionException
public ClassDefinitionException()Constructs a class definition exception with no specific detail message. -
ClassDefinitionException
Constructs a class definition exception with the specified detail message.- Parameters:
msg
- the detail message
-