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
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
-
Constructor Details
-
HttpResponseException
-
HttpResponseException
-
-
Method Details
-
getStatus
public int getStatus() -
getDetails
-