public class XmlRpcException extends Exception
XmlRpcClientException
.Modifier and Type | Field and Description |
---|---|
int |
code
The fault code of the exception.
|
Throwable |
linkedException
If the transport was able to catch a remote exception
(as is the case, if the local transport is used or if extensions
are enabled and the server returned a serialized exception),
then this field contains the trapped exception.
|
Constructor and Description |
---|
XmlRpcException(int pCode,
String pMessage)
Creates a new instance with the given error code and error message.
|
XmlRpcException(int pCode,
String pMessage,
Throwable pLinkedException)
Creates a new instance with the given error code, error message
and cause.
|
XmlRpcException(String pMessage)
Creates a new instance with the given error message
and error code 0.
|
XmlRpcException(String pMessage,
Throwable pLinkedException)
Creates a new instance with the given error message
and cause.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause() |
void |
printStackTrace(PrintStream pStream) |
void |
printStackTrace(PrintWriter pWriter) |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
public final int code
public final Throwable linkedException
public XmlRpcException(int pCode, String pMessage)
pCode
- Error code.pMessage
- Detail message.public XmlRpcException(String pMessage, Throwable pLinkedException)
pMessage
- Detail message.pLinkedException
- The errors cause.public XmlRpcException(String pMessage)
pMessage
- Detail message.public void printStackTrace(PrintStream pStream)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter pWriter)
printStackTrace
in class Throwable
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.