Class QueryConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
in.co.akshitbansal.springwebquery.exception.QueryException
in.co.akshitbansal.springwebquery.exception.QueryConfigurationException
- All Implemented Interfaces:
Serializable
Exception thrown when the library is misconfigured by the developer.
This exception indicates an internal configuration error, such as referencing a custom operator that has not been registered with the configured RSQL specification resolver.
This exception is intended to be treated as a 5xx server error as it highlights a development-time configuration issue.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQueryConfigurationException(String message) Constructs a new query configuration exception with the specified detail message.QueryConfigurationException(String message, Throwable cause) Constructs a new query configuration exception with the specified detail message and 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
-
QueryConfigurationException
Constructs a new query configuration exception with the specified detail message.- Parameters:
message- the detail message explaining the reason for the configuration error
-
QueryConfigurationException
Constructs a new query configuration exception with the specified detail message and cause.- Parameters:
message- the detail message explaining the reason for the configuration errorcause- the underlying cause of the configuration error
-