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, SmackException.SmackWrappedException
Constructor and Description |
---|
ConnectionException(Throwable wrappedThrowable) |
Modifier and Type | Method and Description |
---|---|
static SmackException.ConnectionException |
from(List<HostAddress> failedAddresses) |
List<HostAddress> |
getFailedAddresses() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConnectionException(Throwable wrappedThrowable)
public static SmackException.ConnectionException from(List<HostAddress> failedAddresses)
public List<HostAddress> getFailedAddresses()