public class SwiftInvalidResponseException extends SwiftConnectionException
Modifier and Type | Field and Description |
---|---|
String |
body |
String |
operation |
int |
statusCode |
URI |
uri |
Constructor and Description |
---|
SwiftInvalidResponseException(String message,
int statusCode,
String operation,
URI uri) |
SwiftInvalidResponseException(String message,
String operation,
URI uri,
org.apache.commons.httpclient.HttpMethod method) |
Modifier and Type | Method and Description |
---|---|
String |
exceptionTitle()
Override point: title of an exception -this is used in the
toString() method.
|
String |
getBody() |
String |
getOperation() |
int |
getStatusCode() |
URI |
getUri() |
String |
toString()
Build a description that includes the exception title, the URI,
the message, the status code -and any body of the response
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public final int statusCode
public final String operation
public final URI uri
public final String body
public SwiftInvalidResponseException(String message, int statusCode, String operation, URI uri)
public int getStatusCode()
public String getOperation()
public URI getUri()
public String getBody()
public String exceptionTitle()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.