java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.data.exceptions.DataException
jakarta.data.exceptions.MappingException
- All Implemented Interfaces:
Serializable
A mapping exception is one thrown if an issue exists at runtime or build time in the data mapping.
- See Also:
-
Constructor Summary
ConstructorDescriptionMappingException
(String message) Constructs a new MappingException exception with the specified detail message.MappingException
(String message, Throwable cause) Constructs a new MappingException exception with the specified detail message.MappingException
(Throwable cause) Constructs a new MappingException exception with the specified 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
-
MappingException
Constructs a new MappingException exception with the specified detail message.- Parameters:
message
- the detail message.
-
MappingException
-
MappingException
Constructs a new MappingException exception with the specified cause.- Parameters:
cause
- the cause.
-