Package org.hibernate

Class MappingException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccessTypeDeterminationException, AccessTypePlacementException, AnnotationException, AnnotationPlacementException, DuplicateMappingException, InvalidMappingException, MappingException, MemberResolutionException, PropertyNotFoundException, UnknownEntityReferenceException, UnknownEntityTypeException, UnknownSqlResultSetMappingException

public class MappingException extends HibernateException
An exception that occurs while reading mapping sources, either XML or annotations, usually as a result of something screwy in the O/R mappings.
See Also:
  • Constructor Details

    • MappingException

      public MappingException(String message, Throwable cause)
      Constructs a MappingException using the given information.
      Parameters:
      message - A message explaining the exception condition
      cause - The underlying cause
    • MappingException

      public MappingException(Throwable cause)
      Constructs a MappingException using the given information.
      Parameters:
      cause - The underlying cause
    • MappingException

      public MappingException(String message)
      Constructs a MappingException using the given information.
      Parameters:
      message - A message explaining the exception condition