Package fr.ifremer.isisfish.util
Class ErrorHelper
java.lang.Object
fr.ifremer.isisfish.util.ErrorHelper
- All Implemented Interfaces:
org.jdesktop.swingx.error.ErrorReporter
Error helper.
- Version:
- $Revision$ Last update : $Date$ By : $Author$
- Author:
- chatellier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
reportError
(org.jdesktop.swingx.error.ErrorInfo errorInfo) 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.
-
Constructor Details
-
ErrorHelper
public ErrorHelper()
-
-
Method Details
-
showErrorDialog
Display a user friendly error frame.- Parameters:
parent
- parent componentmessage
- message for usercause
- exception cause
-
showErrorDialog
Display a user friendly error frame.- Parameters:
message
- message for user
-
showErrorDialog
Display a user friendly error frame.- Parameters:
message
- message for usercause
- exception cause
-
reportError
- Specified by:
reportError
in interfaceorg.jdesktop.swingx.error.ErrorReporter
- Throws:
NullPointerException
-