Package org.hibernate

Class AnnotationException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CannotForceNonNullableException, RecoverableException

public class AnnotationException extends MappingException
An exception that occurs while reading mapping annotations.
See Also:
  • Constructor Details

    • AnnotationException

      public AnnotationException(String msg, Throwable cause)
      Constructs an AnnotationException using the given message and cause.
      Parameters:
      msg - The message explaining the reason for the exception.
      cause - The underlying cause.
    • AnnotationException

      public AnnotationException(String msg)
      Constructs an AnnotationException using the given message.
      Parameters:
      msg - The message explaining the reason for the exception.