Class InvalidAnnotationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusUserException
org.datanucleus.metadata.InvalidAnnotationException
- All Implemented Interfaces:
Serializable
Exception thrown when an annotation has been specified that is invalid in the circumstances.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringMessage resources keyprivate static final long -
Constructor Summary
ConstructorsConstructorDescriptionInvalidAnnotationException(String key, Object... params) Constructor with message resource, message paramsInvalidAnnotationException(String key, Throwable cause, Object... params) Constructor with message resource, message param and cause exception -
Method Summary
Methods 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:
-
messageKey
Message resources key
-
-
Constructor Details
-
InvalidAnnotationException
-
InvalidAnnotationException
-
-
Method Details
-
getMessageKey
-