redstone.xmlrpc
Class XmlRpcException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by redstone.xmlrpc.XmlRpcException
All Implemented Interfaces:
java.io.Serializable

public class XmlRpcException
extends java.lang.RuntimeException

The exception thrown by the XML-RPC library in case of serialization or network problems. If a call is successfully made but the remote XML-RPC service returns a fault message, an XmlRpcFault exception will be thrown.

Author:
Greger Olsson
See Also:
Serialized Form

Constructor Summary
XmlRpcException(java.lang.String message)
          Creates a new exception with the supplied message.
XmlRpcException(java.lang.String message, java.lang.Throwable cause)
          Creates a new exception with the supplied 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlRpcException

public XmlRpcException(java.lang.String message)
Creates a new exception with the supplied message.

Parameters:
message - The exception message.

XmlRpcException

public XmlRpcException(java.lang.String message,
                       java.lang.Throwable cause)
Creates a new exception with the supplied message. The supplied cause will be attached to the exception.

Parameters:
message - The error message.
cause - The original cause leading to the exception.