public class CredHubException
extends org.springframework.web.client.HttpStatusCodeException
Constructor and Description |
---|
CredHubException(org.springframework.http.HttpStatus statusCode)
Create a new exception with the provided error status code.
|
CredHubException(org.springframework.web.client.HttpStatusCodeException e)
Create a new exception with the provided root cause.
|
getRawStatusCode, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseHeaders, getStatusText
contains, getMessage, getMostSpecificCause, getRootCause
public CredHubException(org.springframework.web.client.HttpStatusCodeException e)
e
- an HttpStatusCodeException
caught while attempting to communicate
with CredHubpublic CredHubException(org.springframework.http.HttpStatus statusCode)
statusCode
- an HttpStatus
indicating an error while attempting to
communicate with CredHub