Lines Matching defs:exception
1198 private void onError(Throwable exception) {
1199 exception = getRootCause(exception);
1200 onError(getErrorCode(exception), exception.toString());
1239 private Throwable getRootCause(Throwable exception) {
1240 Throwable cause = exception.getCause();
1242 exception = cause;
1243 cause = exception.getCause();
1245 return exception;
1248 private int getErrorCode(Throwable exception) {
1249 String message = exception.getMessage();
1250 if (exception instanceof UnknownHostException) {
1252 } else if (exception instanceof IOException) {
1269 private void onRegistrationFailed(Throwable exception) {
1270 exception = getRootCause(exception);
1271 onRegistrationFailed(getErrorCode(exception),
1272 exception.toString());