public class XMPPException
extends java.lang.Exception
XMPPError
,
Serialized FormConstructor and Description |
---|
XMPPException()
Creates a new XMPPException.
|
XMPPException(java.lang.String message)
Creates a new XMPPException with a description of the exception.
|
XMPPException(java.lang.String message,
java.lang.Throwable wrappedThrowable)
Creates a new XMPPException with a description of the exception and the
Throwable that was the root cause of the exception.
|
XMPPException(java.lang.String message,
XMPPError error)
Creates a new XMPPException with a description of the exception and the
XMPPException that was the root cause of the exception.
|
XMPPException(java.lang.String message,
XMPPError error,
java.lang.Throwable wrappedThrowable)
Creates a new XMPPException with a description of the exception, an XMPPError,
and the Throwable that was the root cause of the exception.
|
XMPPException(java.lang.Throwable wrappedThrowable)
Creates a new XMPPException with the Throwable that was the root cause of the
exception.
|
XMPPException(XMPPError error)
Cretaes a new XMPPException with the XMPPError that was the root case of the
exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
java.lang.Throwable |
getWrappedThrowable()
Returns the Throwable asscociated with this exception, or null if there
isn't one.
|
XMPPError |
getXMPPError()
Returns the XMPPError asscociated with this exception, or null if there
isn't one.
|
void |
printStackTrace() |
void |
printStackTrace(java.io.PrintStream out) |
void |
printStackTrace(java.io.PrintWriter out) |
java.lang.String |
toString() |
public XMPPException()
public XMPPException(java.lang.String message)
message
- description of the exception.public XMPPException(java.lang.Throwable wrappedThrowable)
wrappedThrowable
- the root cause of the exception.public XMPPException(XMPPError error)
error
- the root cause of the exception.public XMPPException(java.lang.String message, java.lang.Throwable wrappedThrowable)
message
- a description of the exception.wrappedThrowable
- the root cause of the exception.public XMPPException(java.lang.String message, XMPPError error, java.lang.Throwable wrappedThrowable)
message
- a description of the exception.error
- the root cause of the exception.wrappedThrowable
- the root cause of the exception.public XMPPException(java.lang.String message, XMPPError error)
message
- a description of the exception.error
- the root cause of the exception.public XMPPError getXMPPError()
public java.lang.Throwable getWrappedThrowable()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream out)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter out)
printStackTrace
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
Copyright © 2003 Jive Software.