Package dev.morphia.mapping
Class MappingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.morphia.mapping.MappingException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConstraintViolationException
public class MappingException extends RuntimeException
An exception indicating an error mapping a type- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MappingException(String message)
Creates an exception with a messageMappingException(String message, Throwable cause)
Creates an exception with a message and a cause
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MappingException
public MappingException(String message)
Creates an exception with a message- Parameters:
message
- the message to record
-
-