Package org.jivesoftware.smack
Class SmackException.EndpointConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jivesoftware.smack.SmackException
org.jivesoftware.smack.SmackException.ConnectionException
org.jivesoftware.smack.SmackException.EndpointConnectionException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SmackException
public static final class SmackException.EndpointConnectionException
extends SmackException.ConnectionException
This exception is thrown if Smack is unable to connect to all hosts of a given XMPP
service. The connection exceptions can be retrieved with
getConnectionExceptions()
, which will have the exception causing the
connection failure set and retrievable with RemoteConnectionException.getException()
.- 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 TypeMethodDescriptionfrom
(List<RemoteConnectionEndpointLookupFailure> lookupFailures, List<? extends RemoteConnectionException<?>> connectionExceptions) List<? extends RemoteConnectionException<? extends RemoteConnectionEndpoint>>
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
from
public static SmackException.EndpointConnectionException from(List<RemoteConnectionEndpointLookupFailure> lookupFailures, List<? extends RemoteConnectionException<?>> connectionExceptions) -
getLookupFailures
-
getConnectionExceptions
public List<? extends RemoteConnectionException<? extends RemoteConnectionEndpoint>> getConnectionExceptions()
-