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:
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 inherited from class org.datanucleus.metadata.InvalidMetaDataException
messageKey
-
-
Constructor Summary
Constructors Constructor Description InvalidPrimaryKeyException(String key, 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
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-