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 InvalidClassMetaDataException
classNameFields inherited from class 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 InvalidClassMetaDataException
getClassNameMethods inherited from class InvalidMetaDataException
getMessageKeyMethods inherited from class NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
InvalidPrimaryKeyException
-