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
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:
-
Field Summary
FieldsFields inherited from class org.datanucleus.metadata.InvalidClassMetaDataException
className
Fields inherited from class org.datanucleus.metadata.InvalidMetaDataException
messageKey
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidPrimaryKeyException
(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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
InvalidPrimaryKeyException
Constructor that assumes that the first parameter is the class name (String).- Parameters:
key
- Message keyparams
- The parameters for the message
-