Class QueryExecutionException

All Implemented Interfaces:
Serializable

public class QueryExecutionException extends HandlerExecutionException
Exception indicating that the execution of a Query Handler has resulted in an exception.

By default, a stack trace is not generated for this exception. However, the stack trace creation can be enforced explicitly via the constructor accepting the writableStackTrace parameter.

Since:
3.1
Author:
Marc Gathier
See Also:
  • Constructor Details

    • QueryExecutionException

      public QueryExecutionException(String message, Throwable cause)
      Initializes the exception with given message and cause
      Parameters:
      message - Message explaining the context of the error
      cause - The underlying cause of the invocation failure
    • QueryExecutionException

      public QueryExecutionException(String message, Throwable cause, Object details)
      Initializes the exception with given message, cause and details.
      Parameters:
      message - Message explaining the context of the error
      cause - The underlying cause of the invocation failure
      details - An object providing more error details (may be null)
    • QueryExecutionException

      public QueryExecutionException(String message, Throwable cause, Object details, boolean writableStackTrace)
      Initializes the exception with given message, cause, details and writableStackTrace
      Parameters:
      message - Message explaining the context of the error
      cause - The underlying cause of the invocation failure
      details - An object providing more error details (may be null)
      writableStackTrace - Whether the stack trace should be generated (true) or not (false)