public abstract class XMPPException extends Exception
When a stream error occurred, the server will send a stream error to the client before closing the connection. Stream errors are unrecoverable errors. When a stream error is sent to the client an XMPPException will be thrown containing the StreamError sent by the server.
XMPPError
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
XMPPException.StreamErrorException |
static class |
XMPPException.XMPPErrorException |
Modifier | Constructor and Description |
---|---|
protected |
XMPPException()
Creates a new XMPPException.
|
protected |
XMPPException(String message)
Creates a new XMPPException with a description of the exception.
|
protected |
XMPPException(String message,
Throwable wrappedThrowable)
Creates a new XMPPException with a description of the exception and the
Throwable that was the root cause of the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected XMPPException()
protected XMPPException(String message)
message
- description of the exception.protected XMPPException(String message, Throwable wrappedThrowable)
message
- a description of the exception.wrappedThrowable
- the root cause of the exception.