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, printStackTrace
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
public 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–2023 The Apache Software Foundation. All rights reserved.