public class CloudFoundryException
extends org.springframework.web.client.HttpClientErrorException
| Constructor and Description |
|---|
CloudFoundryException(org.springframework.http.HttpStatus statusCode) |
CloudFoundryException(org.springframework.http.HttpStatus statusCode,
String statusText) |
CloudFoundryException(org.springframework.http.HttpStatus statusCode,
String statusText,
int cloudFoundryErrorCode) |
CloudFoundryException(org.springframework.http.HttpStatus statusCode,
String statusText,
String description)
Construct a new instance of
CloudFoundryException based on a HttpStatus, status text and description. |
| Modifier and Type | Method and Description |
|---|---|
int |
getCloudFoundryErrorCode()
Returns an additional error code that is specific to failures in Cloud Foundry requests or behaviour.
|
String |
getDescription() |
void |
setDescription(String description) |
String |
toString() |
getResponseBodyAsByteArray, getResponseBodyAsString, getResponseHeaders, getStatusCode, getStatusTextcontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic CloudFoundryException(org.springframework.http.HttpStatus statusCode)
public CloudFoundryException(org.springframework.http.HttpStatus statusCode,
String statusText)
public CloudFoundryException(org.springframework.http.HttpStatus statusCode,
String statusText,
int cloudFoundryErrorCode)
public CloudFoundryException(org.springframework.http.HttpStatus statusCode,
String statusText,
String description)
CloudFoundryException based on a HttpStatus, status text and description.statusCode - the status codestatusText - the status textdescription - the descriptionpublic String getDescription()
public void setDescription(String description)
public int getCloudFoundryErrorCode()
Copyright © 2015. All rights reserved.