Class ErrorHelper

java.lang.Object
fr.ifremer.isisfish.util.ErrorHelper
All Implemented Interfaces:
org.jdesktop.swingx.error.ErrorReporter

public class ErrorHelper extends Object implements org.jdesktop.swingx.error.ErrorReporter
Error helper.
Version:
$Revision$ Last update : $Date$ By : $Author$
Author:
chatellier
  • Constructor Details

    • ErrorHelper

      public ErrorHelper()
  • Method Details

    • showErrorDialog

      public static void showErrorDialog(Component parent, String message, Throwable cause)
      Display a user friendly error frame.
      Parameters:
      parent - parent component
      message - message for user
      cause - exception cause
    • showErrorDialog

      public static void showErrorDialog(String message)
      Display a user friendly error frame.
      Parameters:
      message - message for user
    • showErrorDialog

      public static void showErrorDialog(String message, Throwable cause)
      Display a user friendly error frame.
      Parameters:
      message - message for user
      cause - exception cause
    • reportError

      public void reportError(org.jdesktop.swingx.error.ErrorInfo errorInfo) throws NullPointerException
      Specified by:
      reportError in interface org.jdesktop.swingx.error.ErrorReporter
      Throws:
      NullPointerException