org.apache.xmlrpc.applet

Class XmlRpcException


public class XmlRpcException
extends 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.
Version:
$Id: XmlRpcException.java 233919 2005-04-22 10:26:17Z hgomez $

Field Summary

int
code
The fault code of the exception.

Constructor Summary

XmlRpcException(int code, String message)

Field Details

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 Details

XmlRpcException

public XmlRpcException(int code,
                       String message)
Parameters:
code -
message -

Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.