Package org.hibernate
Class AnnotationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CannotForceNonNullableException,FailedSecondPassException,MultipleAttributeNaturesException
An exception that occurs while reading mapping annotations.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs anAnnotationExceptionusing the given message.AnnotationException(String msg, Throwable cause) Constructs anAnnotationExceptionusing the given message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AnnotationException
Constructs anAnnotationExceptionusing the given message and cause.- Parameters:
msg- The message explaining the reason for the exception.cause- The underlying cause.
-
AnnotationException
Constructs anAnnotationExceptionusing the given message.- Parameters:
msg- The message explaining the reason for the exception.
-