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 withgetConnectionExceptions()
, which will have the exception causing the connection failure set and retrievable withRemoteConnectionException.getException()
.- 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 static SmackException.EndpointConnectionException
from(List<RemoteConnectionEndpointLookupFailure> lookupFailures, List<? extends RemoteConnectionException<?>> connectionExceptions)
List<? extends RemoteConnectionException<? extends RemoteConnectionEndpoint>>
getConnectionExceptions()
List<RemoteConnectionEndpointLookupFailure>
getLookupFailures()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
from
public static SmackException.EndpointConnectionException from(List<RemoteConnectionEndpointLookupFailure> lookupFailures, List<? extends RemoteConnectionException<?>> connectionExceptions)
-
getLookupFailures
public List<RemoteConnectionEndpointLookupFailure> getLookupFailures()
-
getConnectionExceptions
public List<? extends RemoteConnectionException<? extends RemoteConnectionEndpoint>> getConnectionExceptions()
-
-