Package org.datanucleus.metadata
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 String
Message 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 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:
-
messageKey
Message resources key
-
-
Constructor Details
-
InvalidAnnotationException
Constructor with message resource, message param and cause exception- Parameters:
key
- message resources keycause
- cause exceptionparams
- parameters
-
InvalidAnnotationException
Constructor with message resource, message params- Parameters:
key
- message resources keyparams
- parameters to the message
-
-
Method Details
-
getMessageKey
Return message resource key- Returns:
- Message resource key
-