Class QueryConfigurationException

All Implemented Interfaces:
Serializable

public class QueryConfigurationException extends QueryException
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 RsqlSpecificationArgumentResolver.

This exception is intended to be treated as a 5xx server error as it highlights a development-time configuration issue.

See Also:
  • Constructor Details

    • QueryConfigurationException

      public QueryConfigurationException(String message)
      Constructs a new query configuration exception with the specified detail message.
      Parameters:
      message - the detail message explaining the reason for the configuration error
    • QueryConfigurationException

      public QueryConfigurationException(String message, Throwable cause)
      Constructs a new query configuration exception with the specified detail message and cause.
      Parameters:
      message - the detail message explaining the reason for the configuration error
      cause - the underlying cause of the configuration error