Lines Matching refs:exception
414 private Throwable getRootCause(Throwable exception) {
415 Throwable cause = exception.getCause();
417 exception = cause;
418 cause = exception.getCause();
420 return exception;
1395 private void onError(Throwable exception) {
1396 exception = getRootCause(exception);
1397 onError(getErrorCode(exception), exception.toString());
1436 private int getErrorCode(Throwable exception) {
1437 String message = exception.getMessage();
1438 if (exception instanceof UnknownHostException) {
1440 } else if (exception instanceof IOException) {
1457 private void onRegistrationFailed(Throwable exception) {
1458 exception = getRootCause(exception);
1459 onRegistrationFailed(getErrorCode(exception),
1460 exception.toString());