public class XmlRpcHttpTransportException extends XmlRpcException
code, linkedException| Constructor and Description |
|---|
XmlRpcHttpTransportException(int pCode,
String pMessage)
Creates a new instance with the specified HTTP status code
and HTTP status message.
|
XmlRpcHttpTransportException(int httpStatusCode,
String httpStatusMessage,
String message)
Construct a new XmlRpcHttpTransportException with the specified HTTP status code,
HTTP status message, and exception message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getStatusCode()
Get the HTTP status code that resulted in this exception.
|
String |
getStatusMessage()
Get the status message returned by the HTTP server.
|
getCause, printStackTrace, printStackTraceaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringpublic XmlRpcHttpTransportException(int pCode,
String pMessage)
pCode - The HTTP status codepMessage - The HTTP status message returned by the HTTP serverpublic XmlRpcHttpTransportException(int httpStatusCode,
String httpStatusMessage,
String message)
httpStatusCode - the HTTP status codehttpStatusMessage - the HTTP status message returned by the HTTP servermessage - the exception message.public int getStatusCode()
public String getStatusMessage()
Copyright © 2001-2015 The Apache Software Foundation. All Rights Reserved.