public class GenericException
extends org.apache.http.client.ClientProtocolException
| Constructor and Description |
|---|
GenericException(Response response) |
GenericException(String message,
org.apache.http.Header[] httpHeaders,
org.apache.http.StatusLine httpStatusLine)
An exception generated when a openstack tries to do something they aren't authorized to do.
|
GenericException(String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.Header[] |
getHttpHeaders() |
String |
getHttpHeadersAsString() |
int |
getHttpStatusCode() |
org.apache.http.StatusLine |
getHttpStatusLine() |
String |
getHttpStatusMessage() |
String |
getHttpVersion() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic GenericException(String message, org.apache.http.Header[] httpHeaders, org.apache.http.StatusLine httpStatusLine)
message - The messagehttpHeaders - The returned HTTP headershttpStatusLine - The HTTP Status lined returnedpublic GenericException(Response response)
public org.apache.http.Header[] getHttpHeaders()
public String getHttpHeadersAsString()
public org.apache.http.StatusLine getHttpStatusLine()
public int getHttpStatusCode()
public String getHttpStatusMessage()
public String getHttpVersion()
Copyright © 2020. All rights reserved.