Class QueryException

All Implemented Interfaces:
Serializable

public class QueryException extends RuntimeException
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 Details

    • QueryException

      public QueryException(String message)
      Create a new QueryException with a message.
      Parameters:
      message - The message of the exception.
    • QueryException

      public QueryException(String message, Throwable cause)
      Create a new QueryException with a message and a cause.
      Parameters:
      message - The message of the exception.
      cause - The cause of the exception.