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:
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,StateMachineException
Smack uses SmackExceptions for errors that are not defined by any XMPP specification.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic final classThis exception is thrown if Smack is unable to connect to all hosts of a given XMPP service.static classstatic final classstatic classstatic final classstatic final classException thrown always when there was no response to an request within the stanza reply timeout of the used connection instance.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classA Smack exception wrapping a text message.static classstatic classA Smack exception wrapping another exception. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedSmackException(String message) protectedSmackException(String message, Throwable wrappedThrowable) protectedSmackException(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()
-