public void handleException ( Throwable throwable ) { log . debug ( "Handle exception: {} with: {}" , throwable . getMessage ( ) , exceptionHandler ) ; if ( exceptionHandler != null ) { exceptionHandler . handleException ( throwable ) ; } else { log . error ( "Connection exception" , throwable ) ; throw new RuntimeException ( throwable ) ; } }
Handle any exceptions that occur .