public static class XMPPException.XMPPErrorException extends XMPPException
XMPPException.StreamErrorException, XMPPException.XMPPErrorException| Constructor and Description |
|---|
XMPPException.XMPPErrorException(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.XMPPErrorException(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.XMPPErrorException(XMPPError error)
Creates a new XMPPException with the XMPPError that was the root case of the exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage() |
XMPPError |
getXMPPError()
Returns the XMPPError associated with this exception, or null if there isn't
one.
|
java.lang.String |
toString() |
public XMPPException.XMPPErrorException(XMPPError error)
error - the root cause of the exception.public XMPPException.XMPPErrorException(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.XMPPErrorException(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.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwable