public static class SmackException.ConnectionException extends SmackException
getFailedAddresses()
, which will have the exception causing the
connection failure set and retrievable with HostAddress.getExceptions()
.SmackException.AlreadyConnectedException, SmackException.AlreadyLoggedInException, SmackException.ConnectionException, SmackException.FeatureNotSupportedException, SmackException.IllegalStateChangeException, SmackException.NoResponseException, SmackException.NotConnectedException, SmackException.NotLoggedInException, SmackException.ResourceBindingNotOfferedException, SmackException.SecurityNotPossibleException, SmackException.SecurityRequiredByClientException, SmackException.SecurityRequiredByServerException, SmackException.SecurityRequiredException
Constructor and Description |
---|
ConnectionException(java.lang.Throwable wrappedThrowable) |
Modifier and Type | Method and Description |
---|---|
static SmackException.ConnectionException |
from(java.util.List<HostAddress> failedAddresses) |
java.util.List<HostAddress> |
getFailedAddresses() |
public ConnectionException(java.lang.Throwable wrappedThrowable)
public static SmackException.ConnectionException from(java.util.List<HostAddress> failedAddresses)
public java.util.List<HostAddress> getFailedAddresses()