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:
java.io.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
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ClassDefinitionException()
Constructs a class definition exception with no specific detail message.ClassDefinitionException(java.lang.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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClassDefinitionException
public ClassDefinitionException()
Constructs a class definition exception with no specific detail message.
-
ClassDefinitionException
public ClassDefinitionException(java.lang.String msg)
Constructs a class definition exception with the specified detail message.- Parameters:
msg
- the detail message
-
-