void dealWithInvocationException(InvocationTargetException e) throws SQLException, Throwable, InvocationTargetException {
  Throwable t=e.getTargetException();
  if (t != null) {
    if (this.lastExceptionDealtWith != t && shouldExceptionTriggerConnectionSwitch(t)) {
      invalidateCurrentConnection();
      pickNewConnection();
      this.lastExceptionDealtWith=t;
    }
    throw t;
  }
  throw e;
}

void dealWithInvocationException ( InvocationTargetException e ) throws SQLException , Throwable , InvocationTargetException { Throwable t = e . getTargetException ( ) ; if ( t != null ) { if ( this . lastExceptionDealtWith != t && shouldExceptionTriggerConnectionSwitch ( t ) ) { invalidateCurrentConnection ( ) ; pickNewConnection ( ) ; this . lastExceptionDealtWith = t ; } throw t ; } throw e ; }
deals with invocationexception from proxied objects .
