|
|
|
|
@ -221,7 +221,7 @@ public void onFailure(Exception e)
|
|
|
|
|
// the exception if one exists
|
|
|
|
|
this.provider
|
|
|
|
|
.setCurrentRegistrationState(
|
|
|
|
|
RegistrationState.UNREGISTERED);
|
|
|
|
|
RegistrationState.CONNECTION_FAILED);
|
|
|
|
|
Exception e = result.getException();
|
|
|
|
|
if (e != null)
|
|
|
|
|
throw e;
|
|
|
|
|
@ -229,9 +229,10 @@ public void onFailure(Exception e)
|
|
|
|
|
}
|
|
|
|
|
catch (IOException e)
|
|
|
|
|
{
|
|
|
|
|
// Also SSL exceptions will be caught here.
|
|
|
|
|
this.provider
|
|
|
|
|
.setCurrentRegistrationState(
|
|
|
|
|
RegistrationState.UNREGISTERED);
|
|
|
|
|
RegistrationState.CONNECTION_FAILED);
|
|
|
|
|
throw e;
|
|
|
|
|
}
|
|
|
|
|
catch (InterruptedException e)
|
|
|
|
|
|