Package dev.morphia.query
Class QueryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.morphia.query.QueryException
-
- All Implemented Interfaces:
Serializable
public class QueryException extends RuntimeException
Error during query.- Author:
- ScottHernandez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryException(String message)
Creates a QueryException with a messageQueryException(String message, Throwable cause)
Creates a QueryException 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
-
QueryException
public QueryException(String message)
Creates a QueryException with a message- Parameters:
message
- the message to record
-
-