Class XmlRpcException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.xmlrpc.applet.XmlRpcException
All Implemented Interfaces:

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.

$Id: XmlRpcException.html 359531 2005-12-28 13:59:25Z jochen $
See Also:
Serialized Form

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

Field Detail


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


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

Copyright 2001-2001-2005 Apache Software Foundation. All Rights Reserved.