Class 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 Details

    • InvalidPageSizeException

      public InvalidPageSizeException(String message)
      Creates the exception with a diagnostic message.
      Parameters:
      message - human-readable description of the invalid page size