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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassDefinitionException()
Constructs a class definition exception with no specific detail message.ClassDefinitionException(String msg)
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
-
-
-
-
Constructor Detail
-
ClassDefinitionException
public ClassDefinitionException()
Constructs a class definition exception with no specific detail message.
-
ClassDefinitionException
public ClassDefinitionException(String msg)
Constructs a class definition exception with the specified detail message.- Parameters:
msg
- the detail message
-
-