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
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.OutgoingQueueFullException, 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 StanzaFilter
getFilter()
Get the filter that was used to collect the response.static SmackException.NoResponseException
newWith(long timeout, StanzaFilter filter, boolean stanzaCollectorCancelled)
static SmackException.NoResponseException
newWith(long timeout, StanzaCollector collector, boolean stanzaCollectorCancelled)
static SmackException.NoResponseException
newWith(XMPPConnection connection, String waitingFor)
static SmackException.NoResponseException
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 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, 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)
-
-