Module io.avaje.jex

Class HttpResponseException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadGatewayResponse, BadRequestResponse, ConflictResponse, ForbiddenResponse, GatewayTimeoutResponse, GoneResponse, InternalServerErrorResponse, MethodNotAllowedResponse, NotFoundResponse, RedirectResponse, ServiceUnavailableResponse, UnauthorizedResponse

public class HttpResponseException
extends RuntimeException
See Also:
Serialized Form
  • Constructor Details

    • HttpResponseException

      public HttpResponseException​(int status, String message, Map<String,​String> details)
    • HttpResponseException

      public HttpResponseException​(int status, String message)
  • Method Details

    • getStatus

      public int getStatus()
    • getDetails

      public Map<String,​String> getDetails()