fr.ifremer.isisfish.ui.util
Class ErrorHelper

java.lang.Object
  extended by fr.ifremer.isisfish.ui.util.ErrorHelper

public class ErrorHelper
extends Object

Error helper.

Version:
$Revision: 2688 $ Last update : $Date: 2009-10-26 15:55:36 +0100 (lun., 26 oct. 2009) $ By : $Author$
Author:
chatellier

Constructor Summary
ErrorHelper()
           
 
Method Summary
static void showErrorDialog(Component parent, String message, Throwable cause)
          Display a user friendly error frame.
static void showErrorDialog(String message)
          Display a user friendly error frame.
static void showErrorDialog(String message, Throwable cause)
          Display a user friendly error frame.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHelper

public ErrorHelper()
Method Detail

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


Copyright © 1999-2010 CodeLutin. All Rights Reserved.