Package org.hibernate
Class MappingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.MappingException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessTypeDeterminationException,AccessTypePlacementException,AnnotationException,AnnotationPlacementException,DuplicateMappingException,InvalidMappingException,MappingException,MemberResolutionException,PropertyNotFoundException,UnknownEntityTypeException,UnknownSqlResultSetMappingException
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 Summary
ConstructorsConstructorDescriptionMappingException(String message) Constructs aMappingExceptionusing the given information.MappingException(String message, Throwable cause) Constructs aMappingExceptionusing the given information.MappingException(Throwable cause) Constructs aMappingExceptionusing the given information. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MappingException
Constructs aMappingExceptionusing the given information.- Parameters:
message- A message explaining the exception conditioncause- The underlying cause
-
MappingException
Constructs aMappingExceptionusing the given information.- Parameters:
cause- The underlying cause
-
MappingException
Constructs aMappingExceptionusing the given information.- Parameters:
message- A message explaining the exception condition
-