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:
Serializable
public class ValidationException extends RuntimeException
Error during validation.- Author:
- ScottHernandez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException(String message)
Creates a ValidationException with a message and a causeValidationException(String message, Throwable cause)
Creates a ValidationException 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
-
ValidationException
public ValidationException(String message)
Creates a ValidationException with a message and a cause- Parameters:
message
- the message to record
-
-