public class DnsimpleException extends Exception
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
DnsimpleException(String message,
String requestId,
Integer statusCode) |
DnsimpleException(String message,
String requestId,
Integer statusCode,
Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestId() |
Integer |
getStatusCode() |
static DnsimpleException |
transformException(com.google.api.client.http.HttpResponseException e)
Transform an HttpResponseException into a DnsimpleException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final long serialVersionUID
public String getRequestId()
public Integer getStatusCode()
public static DnsimpleException transformException(com.google.api.client.http.HttpResponseException e)
e - The HttpResponseExceptionCopyright © 2017 DNSimple. All rights reserved.