void handleSubscriberException ( Throwable e , SubscriberExceptionContext context ) { checkNotNull ( e ) ; checkNotNull ( context ) ; try { exceptionHandler . handleException ( e , context ) ; } catch ( Throwable e2 ) { // if the handler threw an exception... well, just log it logger . log ( Level . SEVERE , String . format ( "Exception %s thrown while handling exception: %s" , e2 , e ) , e2 ) ; } }
Handles the given exception thrown by a subscriber with the given context .