public class CredHubException extends HttpStatusCodeException
| Constructor and Description |
|---|
CredHubException(HttpStatus statusCode)
Create a new exception with the provided error status code.
|
CredHubException(HttpStatusCodeException e)
Create a new exception with the provided root cause.
|
getStatusCodegetRawStatusCode, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseBodyAsString, getResponseHeaders, getStatusTextcontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CredHubException(HttpStatusCodeException e)
e - an HttpStatusCodeException caught while attempting to communicate
with CredHubpublic CredHubException(HttpStatus statusCode)
statusCode - an HttpStatus indicating an error while attempting to
communicate with CredHub