Class QueryFieldValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
in.co.akshitbansal.springwebquery.exception.QueryException
in.co.akshitbansal.springwebquery.exception.QueryValidationException
in.co.akshitbansal.springwebquery.exception.QueryFieldValidationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
QueryForbiddenOperatorException
Indicates that query validation failed for a specific field path.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQueryFieldValidationException(String message, String fieldPath) Creates a new field validation exception.QueryFieldValidationException(String message, String fieldPath, Throwable cause) Creates a new field validation exception with an underlying 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
-
QueryFieldValidationException
Creates a new field validation exception.- Parameters:
message- validation error detailsfieldPath- query field path associated with the failure
-
QueryFieldValidationException
Creates a new field validation exception with an underlying cause.- Parameters:
message- validation error detailsfieldPath- query field path associated with the failurecause- root cause of the validation failure
-