Public Member Functions | |
Throwable | getCause () |
void | printStackTrace (PrintStream pStream) |
void | printStackTrace (PrintWriter pWriter) |
XmlRpcException (int pCode, String pMessage) | |
XmlRpcException (String pMessage, Throwable pLinkedException) | |
XmlRpcException (String pMessage) | |
XmlRpcException (int pCode, String pMessage, Throwable pLinkedException) | |
Public Attributes | |
final int | code |
final Throwable | linkedException |
Static Private Attributes | |
static final long | serialVersionUID = 3258693217049325618L |
This exception is thrown by the XmlRpcClient, if an invocation of the remote method failed. Failure may have two reasons: The invocation failed on the remote side (for example, an exception was thrown within the server) or the communication with the server failed. The latter is indicated by throwing an instance of org.apache.xmlrpc.client.XmlRpcClientException.
Definition at line 31 of file XmlRpcException.java.
org.apache.xmlrpc.XmlRpcException.XmlRpcException | ( | int | pCode, |
String | pMessage | ||
) | [inline] |
Creates a new instance with the given error code and error message.
pCode | Error code. |
pMessage | Detail message. |
Definition at line 51 of file XmlRpcException.java.
org.apache.xmlrpc.XmlRpcException.XmlRpcException | ( | String | pMessage, |
Throwable | pLinkedException | ||
) | [inline] |
Creates a new instance with the given error message and cause.
pMessage | Detail message. |
pLinkedException | The errors cause. |
Definition at line 60 of file XmlRpcException.java.
org.apache.xmlrpc.XmlRpcException.XmlRpcException | ( | String | pMessage | ) | [inline] |
Creates a new instance with the given error message and error code 0.
pMessage | Detail message. |
Definition at line 68 of file XmlRpcException.java.
org.apache.xmlrpc.XmlRpcException.XmlRpcException | ( | int | pCode, |
String | pMessage, | ||
Throwable | pLinkedException | ||
) | [inline] |
Creates a new instance with the given error code, error message and cause.
pCode | Error code. |
pMessage | Detail message. |
pLinkedException | The errors cause. |
Definition at line 78 of file XmlRpcException.java.
Throwable org.apache.xmlrpc.XmlRpcException.getCause | ( | ) | [inline] |
Definition at line 100 of file XmlRpcException.java.
void org.apache.xmlrpc.XmlRpcException.printStackTrace | ( | PrintStream | pStream | ) | [inline] |
Definition at line 84 of file XmlRpcException.java.
void org.apache.xmlrpc.XmlRpcException.printStackTrace | ( | PrintWriter | pWriter | ) | [inline] |
Definition at line 92 of file XmlRpcException.java.
final int org.apache.xmlrpc.XmlRpcException.code |
The fault code of the exception. For servers based on this library, this will always be 0. (If there are predefined error codes, they should be in the XML-RPC spec.)
Definition at line 38 of file XmlRpcException.java.
final Throwable org.apache.xmlrpc.XmlRpcException.linkedException |
If the transport was able to catch a remote exception (as is the case, if the local transport is used or if extensions are enabled and the server returned a serialized exception), then this field contains the trapped exception.
Definition at line 45 of file XmlRpcException.java.
final long org.apache.xmlrpc.XmlRpcException.serialVersionUID = 3258693217049325618L [static, private] |
Reimplemented in org.apache.xmlrpc.client.TimingOutCallback.TimeoutException, org.apache.xmlrpc.client.XmlRpcClientException, org.apache.xmlrpc.common.XmlRpcInvocationException, org.apache.xmlrpc.common.XmlRpcExtensionException, org.apache.xmlrpc.common.XmlRpcLoadException, org.apache.xmlrpc.common.XmlRpcNotAuthorizedException, org.apache.xmlrpc.server.XmlRpcNoSuchHandlerException, and org.apache.xmlrpc.client.XmlRpcHttpTransportException.
Definition at line 32 of file XmlRpcException.java.