public class XmlRpcException
extends java.lang.Exception
XmlRpcClientException
.Modifier and Type | Field and Description |
---|---|
int |
code
The fault code of the exception.
|
java.lang.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,
java.lang.String pMessage)
Creates a new instance with the given error code and error message.
|
XmlRpcException(int pCode,
java.lang.String pMessage,
java.lang.Throwable pLinkedException)
Creates a new instance with the given error code, error message
and cause.
|
XmlRpcException(java.lang.String pMessage)
Creates a new instance with the given error message
and error code 0.
|
XmlRpcException(java.lang.String pMessage,
java.lang.Throwable pLinkedException)
Creates a new instance with the given error message
and cause.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getCause() |
void |
printStackTrace(java.io.PrintStream pStream) |
void |
printStackTrace(java.io.PrintWriter pWriter) |
public final int code
public final java.lang.Throwable linkedException
public XmlRpcException(int pCode, java.lang.String pMessage)
pCode
- Error code.pMessage
- Detail message.public XmlRpcException(java.lang.String pMessage, java.lang.Throwable pLinkedException)
pMessage
- Detail message.pLinkedException
- The errors cause.public XmlRpcException(java.lang.String pMessage)
pMessage
- Detail message.public XmlRpcException(int pCode, java.lang.String pMessage, java.lang.Throwable pLinkedException)
pCode
- Error code.pMessage
- Detail message.pLinkedException
- The errors cause.public void printStackTrace(java.io.PrintStream pStream)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter pWriter)
printStackTrace
in class java.lang.Throwable
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.