Package org.datanucleus.metadata
Class InvalidPrimaryKeyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusUserException
-
- org.datanucleus.exceptions.NucleusFatalUserException
-
- org.datanucleus.metadata.InvalidMetaDataException
-
- org.datanucleus.metadata.InvalidClassMetaDataException
-
- org.datanucleus.metadata.InvalidPrimaryKeyException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidPrimaryKeyException extends InvalidClassMetaDataException
Exception thrown when a primary key class is found to be invalid for some reason. This is due to an invalid specification of MetaData, or maybe the class specified is just wrong, but we just throw it as a meta-data issue.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class org.datanucleus.metadata.InvalidClassMetaDataException
className
-
Fields inherited from class org.datanucleus.metadata.InvalidMetaDataException
messageKey
-
-
Constructor Summary
Constructors Constructor Description InvalidPrimaryKeyException(java.lang.String key, java.lang.Object... params)
Constructor that assumes that the first parameter is the class name (String).
-
Method Summary
-
Methods inherited from class org.datanucleus.metadata.InvalidClassMetaDataException
getClassName
-
Methods inherited from class org.datanucleus.metadata.InvalidMetaDataException
getMessageKey
-
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
-
-