code: public static void displayError( Throwable e )
    {
      displayMessageBox( e == null ? "Error performing operation." : e.getMessage(), JOptionPane.ERROR_MESSAGE, false );
    }
docs: --------------------------------------------------------------------------------------------------