Class V2JsonRequestParams.InvalidPageSizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codelibs.fess.api.v2.handlers.InvalidRequestParameterException
org.codelibs.fess.api.v2.handlers.V2JsonRequestParams.InvalidPageSizeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
V2JsonRequestParams.InvalidOffsetException
- Enclosing class:
V2JsonRequestParams
public static class V2JsonRequestParams.InvalidPageSizeException
extends InvalidRequestParameterException
Thrown by
V2JsonRequestParams.getPageSize() when the num parameter is present but
<= 0. Handlers should catch this and map it to
V2ErrorCode.INVALID_REQUEST.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidPageSizeException(String message) Creates the exception with a diagnostic message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPageSizeException
Creates the exception with a diagnostic message.- Parameters:
message- human-readable description of the invalid page size
-