Class MarketoApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.adobe.acs.commons.marketo.client.MarketoApiException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMarketoApiException(String message, org.apache.http.client.methods.HttpRequestBase request, org.apache.http.HttpResponse response) MarketoApiException(String message, org.apache.http.client.methods.HttpRequestBase request, org.apache.http.HttpResponse response, String responseBody) MarketoApiException(String message, org.apache.http.client.methods.HttpRequestBase request, org.apache.http.HttpResponse response, String responseBody, Exception cause) -
Method Summary
Modifier and TypeMethodDescriptionintMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MarketoApiException
public MarketoApiException(String message, org.apache.http.client.methods.HttpRequestBase request, org.apache.http.HttpResponse response) -
MarketoApiException
-
MarketoApiException
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
getRequestLine
- Returns:
- the requestLine
-
getStatusCode
public int getStatusCode()- Returns:
- the statusCode
-
getReasonString
- Returns:
- the reasonString
-
getResponseBody
- Returns:
- the responseBody
-