public class XmlRpcHttpTransportException extends XmlRpcException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private int |
status |
private java.lang.String |
statusMessage |
code, linkedException
Constructor and Description |
---|
XmlRpcHttpTransportException(int pCode,
java.lang.String pMessage)
Creates a new instance with the specified HTTP status code
and HTTP status message.
|
XmlRpcHttpTransportException(int httpStatusCode,
java.lang.String httpStatusMessage,
java.lang.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.
|
java.lang.String |
getStatusMessage()
Get the status message returned by the HTTP server.
|
getCause, printStackTrace, printStackTrace
private static final long serialVersionUID
private final int status
private final java.lang.String statusMessage
public XmlRpcHttpTransportException(int pCode, java.lang.String pMessage)
pCode
- The HTTP status codepMessage
- The HTTP status message returned by the HTTP serverpublic XmlRpcHttpTransportException(int httpStatusCode, java.lang.String httpStatusMessage, java.lang.String message)
httpStatusCode
- the HTTP status codehttpStatusMessage
- the HTTP status message returned by the HTTP servermessage
- the exception message.public int getStatusCode()
public java.lang.String getStatusMessage()