Public Member Functions | Public Attributes | Static Private Attributes
org.apache.xmlrpc.XmlRpcException Class Reference
Inheritance diagram for org.apache.xmlrpc.XmlRpcException:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

org.apache.xmlrpc.XmlRpcException.XmlRpcException ( int  pCode,
String  pMessage 
) [inline]

Creates a new instance with the given error code and error message.

Parameters:
pCodeError code.
pMessageDetail 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.

Parameters:
pMessageDetail message.
pLinkedExceptionThe errors cause.

Definition at line 60 of file XmlRpcException.java.

Creates a new instance with the given error message and error code 0.

Parameters:
pMessageDetail 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.

Parameters:
pCodeError code.
pMessageDetail message.
pLinkedExceptionThe errors cause.

Definition at line 78 of file XmlRpcException.java.


Member Function Documentation

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.


Member Data Documentation

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.

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]

The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:50