public void run(BlockExecutor blockExecutor){
  try {
    blockExecutor.invoke();
  }
 catch (  Exception exception) {
    handle(exception);
  }
}

public void run ( BlockExecutor blockExecutor ) { try { blockExecutor . invoke ( ) ; } catch ( Exception exception ) { handle ( exception ) ; } }
run a custom code block and assign current errorhandler instance to handle a possible exception throw in ' catch ' .
