Package onl.ycode.stormify
Class QueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
onl.ycode.stormify.QueryException
- All Implemented Interfaces:
Serializable
An exception that is thrown when an error occurs while executing a query.
This exception is used throughout Stormify and is not required to be caught. Still it is a good practice to catch it.
- See Also:
-
Constructor Summary
ConstructorDescriptionQueryException
(String message) Create a new QueryException with a message.QueryException
(String message, Throwable cause) Create a new 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 Details
-
QueryException
Create a new QueryException with a message.- Parameters:
message
- The message of the exception.
-
QueryException
Create a new QueryException with a message and a cause.- Parameters:
message
- The message of the exception.cause
- The cause of the exception.
-