public class HttpStatusException extends RuntimeException
| Constructor and Description |
|---|
HttpStatusException(int statusCode) |
HttpStatusException(int statusCode,
String payload) |
HttpStatusException(int statusCode,
String payload,
Throwable cause) |
HttpStatusException(int statusCode,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPayload() |
int |
getStatusCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpStatusException(int statusCode)
public HttpStatusException(int statusCode,
Throwable cause)
public HttpStatusException(int statusCode,
String payload)
public int getStatusCode()
public String getPayload()
Copyright © 2020. All rights reserved.