public class HttpMethodException extends GdcRestApiException
| Constructor and Description |
|---|
HttpMethodException(org.apache.commons.httpclient.HttpMethod method)
Constructs an instance of
HttpMethodException for a response to HTTP method call,
interpreting GoodData error structures. |
HttpMethodException(org.apache.commons.httpclient.HttpMethod method,
Throwable throwable)
Constructs an instance of
HttpMethodException for a response to HTTP method call,
interpreting GoodData error structures. |
HttpMethodException(String msg)
Constructs an instance of
HttpMethodException with the specified detail message. |
HttpMethodException(String msg,
Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Returns an error message for
HttpMethodException, attempting to
use GoodData error message or HTTP status line for an exception that was constructed
from a response to HTTP method call. |
String |
getRequestId()
Returns the request id for
HttpMethodException that was constructed
from a response to HTTP method call. |
getLocalizedMessage, toStringaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic HttpMethodException(String msg)
HttpMethodException with the specified detail message.msg - the detail message.public HttpMethodException(org.apache.commons.httpclient.HttpMethod method,
Throwable throwable)
HttpMethodException for a response to HTTP method call,
interpreting GoodData error structures.method - the callthrowable - original exceptionpublic HttpMethodException(org.apache.commons.httpclient.HttpMethod method)
HttpMethodException for a response to HTTP method call,
interpreting GoodData error structures.method - the callpublic String getMessage()
HttpMethodException, attempting to
use GoodData error message or HTTP status line for an exception that was constructed
from a response to HTTP method call.getMessage in class GdcRestApiExceptionpublic String getRequestId()
HttpMethodException that was constructed
from a response to HTTP method call.Copyright © 2014. All rights reserved.