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:
java.io.Serializable
- Enclosing class:
- SmackException
public static final class SmackException.NoResponseException extends 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 withXMPPConnection.setReplyTimeout(long).- See Also:
- Serialized Form
-
-
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.ResourceBindingNotOfferedException, SmackException.SecurityNotPossibleException, SmackException.SecurityRequiredByClientException, SmackException.SecurityRequiredByServerException, SmackException.SecurityRequiredException, SmackException.SmackCertificateException, SmackException.SmackMessageException, SmackException.SmackSaslException, SmackException.SmackWrappedException
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StanzaFiltergetFilter()Get the filter that was used to collect the response.static SmackException.NoResponseExceptionnewWith(long timeout, StanzaFilter filter, boolean stanzaCollectorCancelled)static SmackException.NoResponseExceptionnewWith(long timeout, StanzaCollector collector, boolean stanzaCollectorCancelled)static SmackException.NoResponseExceptionnewWith(XMPPConnection connection, java.lang.String waitingFor)static SmackException.NoResponseExceptionnewWith(XMPPConnection connection, StanzaFilter filter)
-
-
-
Method Detail
-
getFilter
public StanzaFilter 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, java.lang.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)
-
-