Throwable ex = (Throwable) response;
final ExceptionHandler exceptionHandler = mailbox
.getExceptionHandler();
if (exceptionHandler != null) {
try {
exceptionHandler.process(ex);
return;
} catch (final Throwable x) {
ex = x;
}
mailbox.response(this, ex);