public abstract class XMPPException extends java.lang.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.FailedNonzaException |
static class |
XMPPException.StreamErrorException |
static class |
XMPPException.XMPPErrorException |
Modifier | Constructor and Description |
---|---|
protected |
XMPPException()
Creates a new XMPPException.
|
protected |
XMPPException(java.lang.String message)
Creates a new XMPPException with a description of the exception.
|
protected |
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.
|
protected XMPPException()
protected XMPPException(java.lang.String message)
message
- description of the exception.protected XMPPException(java.lang.String message, java.lang.Throwable wrappedThrowable)
message
- a description of the exception.wrappedThrowable
- the root cause of the exception.