helma.xmlrpc
Class XmlRpcException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--helma.xmlrpc.XmlRpcException
All Implemented Interfaces:
java.io.Serializable

public class XmlRpcException
extends java.lang.Exception

This is thrown by the XmlRpcClient if the remote server reported an error. If something went wrong at a lower level (e.g. no http connection) an IOException will be thrown instead.

See Also:
Serialized Form

Field Summary
 int code
          The fault code of the exception.
 
Constructor Summary
XmlRpcException(int code, java.lang.String message)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code

public final int 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.)
Constructor Detail

XmlRpcException

public XmlRpcException(int code,
                       java.lang.String message)