Package org.jivesoftware.smack
Class SmackException.NoResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jivesoftware.smack.SmackException
org.jivesoftware.smack.SmackException.NoResponseException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SmackException
Exception thrown always when there was no response to an request within the stanza reply timeout of the used
connection instance. You can modify (e.g. increase) the stanza reply timeout with
XMPPConnection.setReplyTimeout(long).- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smack.SmackException
SmackException.AlreadyConnectedException, SmackException.AlreadyLoggedInException, SmackException.ConnectionException, SmackException.EndpointConnectionException, SmackException.FeatureNotSupportedException, SmackException.GenericConnectionException, SmackException.IllegalStateChangeException, SmackException.NoEndpointsDiscoveredException, SmackException.NoResponseException, SmackException.NotConnectedException, SmackException.NotLoggedInException, SmackException.OutgoingQueueFullException, SmackException.ResourceBindingNotOfferedException, SmackException.SecurityNotPossibleException, SmackException.SecurityRequiredByClientException, SmackException.SecurityRequiredByServerException, SmackException.SecurityRequiredException, SmackException.SmackCertificateException, SmackException.SmackMessageException, SmackException.SmackSaslException, SmackException.SmackWrappedException -
Method Summary
Modifier and TypeMethodDescriptionGet the filter that was used to collect the response.newWith(long timeout, StanzaFilter filter, boolean stanzaCollectorCancelled) newWith(long timeout, StanzaCollector collector, boolean stanzaCollectorCancelled) newWith(XMPPConnection connection, String waitingFor) newWith(XMPPConnection connection, StanzaFilter filter) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getFilter
Get the filter that was used to collect the response.- Returns:
- the used filter or
null.
-
newWith
public static SmackException.NoResponseException newWith(XMPPConnection connection, String waitingFor) -
newWith
public static SmackException.NoResponseException newWith(long timeout, StanzaCollector collector, boolean stanzaCollectorCancelled) -
newWith
public static SmackException.NoResponseException newWith(XMPPConnection connection, StanzaFilter filter) -
newWith
public static SmackException.NoResponseException newWith(long timeout, StanzaFilter filter, boolean stanzaCollectorCancelled)
-