Package org.hibernate.boot
Class MappingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.MappingException
-
- org.hibernate.boot.MappingException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EnversMappingException
,MappingNotFoundException
,UnsupportedOrmXsdVersionException
public class MappingException extends MappingException
Indicates a problem parsing a mapping document.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MappingException(String message, Throwable root, Origin origin)
MappingException(String message, Origin origin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
Origin
getOrigin()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getOrigin
public Origin getOrigin()
-
-