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:
java.io.Serializable
- Direct Known Subclasses:
ConstraintViolationException
public class MappingException extends java.lang.RuntimeException
- Author:
- Olafur Gauti Gudmundsson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MappingException(java.lang.String message)
Creates an exception with a messageMappingException(java.lang.String message, java.lang.Throwable cause)
Creates an exception with a message and a cause
-
-
-
Constructor Detail
-
MappingException
public MappingException(java.lang.String message)
Creates an exception with a message- Parameters:
message
- the message to record
-
MappingException
public MappingException(java.lang.String message, java.lang.Throwable cause)
Creates an exception with a message and a cause- Parameters:
message
- the message to recordcause
- the
-
-