Package org.jivesoftware.smack
Class SmackException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jivesoftware.smack.SmackException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FileTransferException
,IoTException
,MultiUserChatException
,PubSubException
,SmackException.AlreadyConnectedException
,SmackException.AlreadyLoggedInException
,SmackException.ConnectionException
,SmackException.FeatureNotSupportedException
,SmackException.IllegalStateChangeException
,SmackException.NoResponseException
,SmackException.NotConnectedException
,SmackException.NotLoggedInException
,SmackException.OutgoingQueueFullException
,SmackException.ResourceBindingNotOfferedException
,SmackException.SecurityNotPossibleException
,SmackException.SecurityRequiredException
,SmackException.SmackCertificateException
,SmackException.SmackMessageException
,SmackException.SmackSaslException
,SmackException.SmackWrappedException
,Socks5Exception
,StateMachineException
,StreamManagementException
Smack uses SmackExceptions for errors that are not defined by any XMPP specification.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static final class
This exception is thrown if Smack is unable to connect to all hosts of a given XMPP service.static class
static final class
static class
static final class
static final class
Exception thrown always when there was no response to an request within the stanza reply timeout of the used connection instance.static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
A Smack exception wrapping a text message.static class
static class
A Smack exception wrapping another exception. -
Constructor Summary
ModifierConstructorDescriptionprotected
protected
SmackException
(String message) protected
SmackException
(String message, Throwable wrappedThrowable) protected
SmackException
(Throwable wrappedThrowable) Creates a new SmackException with the Throwable that was the root cause of the exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SmackException
Creates a new SmackException with the Throwable that was the root cause of the exception.- Parameters:
wrappedThrowable
- the root cause of the exception.
-
SmackException
-
SmackException
-
SmackException
protected SmackException()
-