Class QuerystringParsingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.grumpystuff.grumpyrest.request.querystring.QuerystringParsingException
- All Implemented Interfaces:
Serializable
Represents one or more errors from parsing the querystring. This is different from a
FromStringParserException
in that the latter only describes a problem with a single field.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQuerystringParsingException(Map<String, String> fieldErrors) Creates an instance from a set of field errors, represented as a field-name-to-error map. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the field errorsMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QuerystringParsingException
Creates an instance from a set of field errors, represented as a field-name-to-error map.- Parameters:
fieldErrors- the field errors
-
-
Method Details
-
getFieldErrors
Getter for the field errors- Returns:
- the field errors
-