Package io.avaje.jex.http
Class HttpResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.avaje.jex.http.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 Summary
Constructors Constructor Description HttpResponseException(int status, String message)HttpResponseException(int status, String message, Map<String,String> details)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getDetails()intgetStatus()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-