public static class XMPPException.XMPPErrorException extends XMPPException
XMPPException.StreamErrorException, XMPPException.XMPPErrorException| Constructor and Description |
|---|
XMPPException.XMPPErrorException(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.XMPPErrorException(String message,
XMPPError error,
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.XMPPErrorException(XMPPError error)
Creates a new XMPPException with the XMPPError that was the root case of the exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
XMPPError |
getXMPPError()
Returns the XMPPError associated with this exception, or null if there isn't
one.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic XMPPException.XMPPErrorException(XMPPError error)
error - the root cause of the exception.public XMPPException.XMPPErrorException(String message, XMPPError error, Throwable wrappedThrowable)
message - a description of the exception.error - the root cause of the exception.wrappedThrowable - the root cause of the exception.public XMPPException.XMPPErrorException(String message, XMPPError error)
message - a description of the exception.error - the root cause of the exception.public XMPPError getXMPPError()
public String getMessage()
getMessage in class Throwable