org.apache.xmlrpc
Class XmlRpcClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.xmlrpc.XmlRpcException
org.apache.xmlrpc.XmlRpcClientException
- All Implemented Interfaces:
- java.io.Serializable
public class XmlRpcClientException
- extends XmlRpcException
This is thrown by many of the client classes if an error occured processing
and XML-RPC request or response due to client side processing. This exception
will wrap a cause exception in the JDK 1.4 style.
- Since:
- 1.2
- Version:
- $Id: XmlRpcClientException.java,v 1.2 2005/04/22 10:25:57 hgomez Exp $
- Author:
- Andrew Evers
- See Also:
- Serialized Form
Field Summary |
java.lang.Throwable |
cause
The underlying cause of this exception. |
Constructor Summary |
XmlRpcClientException(java.lang.String message,
java.lang.Throwable cause)
Create an XmlRpcClientException with the given message and
underlying cause exception. |
Method Summary |
java.lang.Throwable |
getCause()
Returns the cause of this throwable or null if the cause is nonexistent
or unknown. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, 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 |
cause
public java.lang.Throwable cause
- The underlying cause of this exception.
XmlRpcClientException
public XmlRpcClientException(java.lang.String message,
java.lang.Throwable cause)
- Create an XmlRpcClientException with the given message and
underlying cause exception.
- Parameters:
message
- the message for this exception.cause
- the cause of the exception.
getCause
public java.lang.Throwable getCause()
- Returns the cause of this throwable or null if the cause is nonexistent
or unknown. (The cause is the throwable that caused this throwable to
get thrown.)
This implementation returns the cause that was supplied via the constructor,
according to the rules specified for a "legacy chained throwable" that
predates the addition of chained exceptions to Throwable.
See the JDK
1.4 Throwable documentation for more information.
- Overrides:
getCause
in class java.lang.Throwable
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.