Package dev.morphia.query
Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.morphia.query.ValidationException
-
- All Implemented Interfaces:
java.io.Serializable
public class ValidationException extends java.lang.RuntimeException
Error during validation.- Author:
- ScottHernandez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException(java.lang.String message)
Creates a ValidationException with a message and a causeValidationException(java.lang.String message, java.lang.Throwable cause)
Creates a ValidationException with a message and a cause
-
-
-
Constructor Detail
-
ValidationException
public ValidationException(java.lang.String message)
Creates a ValidationException with a message and a cause- Parameters:
message
- the message to record
-
ValidationException
public ValidationException(java.lang.String message, java.lang.Throwable cause)
Creates a ValidationException with a message and a cause- Parameters:
message
- the message to recordcause
- the underlying cause
-
-