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