public class ServerException extends OvirtSdkException
| Constructor and Description |
|---|
ServerException()
Constructs an
ServerException without a detail message. |
ServerException(org.apache.http.HttpResponse response) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
HTTP response code
|
String |
getDetail()
Returns HTTP failure detail
|
String |
getReason()
Returns HTTP failure reason
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ServerException()
ServerException without a detail message.public ServerException(org.apache.http.HttpResponse response)
response - HttpResponse responseCopyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0