public class XmlRpcException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
boolean |
isRemote
Indicates if the exception ocurred locally or at the terminating XML-RPC end-point
|
Constructor and Description |
---|
XmlRpcException(int errorCode,
java.lang.String message)
Creates a new exception with the supplied message and supplied error code.
|
XmlRpcException(int errorCode,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the supplied message and supplied error code.
|
XmlRpcException(java.lang.String message)
Creates a new exception with the supplied message and error code 0.
|
XmlRpcException(java.lang.String message,
boolean isRemote)
Creates a new exception with the supplied message and error code 0.
|
XmlRpcException(java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the supplied message and error code 0.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
public boolean isRemote
public XmlRpcException(java.lang.String message)
message
- The exception message.public XmlRpcException(java.lang.String message, java.lang.Throwable cause)
message
- The exception message.cause
- The exception that caused the problempublic XmlRpcException(java.lang.String message, boolean isRemote)
message
- The exception message.isRemote
- Determines if the exception ocurred locally or at the remote end-endpoint.public XmlRpcException(int errorCode, java.lang.String message)
errorCode
- The XML-RPC error code. See specification.message
- The exception message.public XmlRpcException(int errorCode, java.lang.String message, java.lang.Throwable cause)
errorCode
- The XML-RPC error code. See specification.message
- The exception message.cause
- The exception that caused the problem.