code: protected void log( Throwable t )
    {
      if( _logger == null )
      {
        t.printStackTrace();
      }
      else
      {
        _logger.warn( "Error running job.", t );
      }
    }
docs: Log an exception or error.