public class ErrorHelper extends Object implements org.jdesktop.swingx.error.ErrorReporter
| Modifier and Type | Field and Description |
|---|---|
protected CoserConfig |
coserConfig |
| Constructor and Description |
|---|
ErrorHelper(CoserConfig coserConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
formatMessage(String category,
String content) |
void |
reportError(org.jdesktop.swingx.error.ErrorInfo errorInfo) |
void |
showErrorDialog(Component parent,
String message,
Throwable cause)
Display a user friendly error frame.
|
void |
showErrorDialog(String message)
Display a user friendly error frame.
|
void |
showErrorDialog(String message,
Throwable cause)
Display a user friendly error frame.
|
protected CoserConfig coserConfig
public ErrorHelper(CoserConfig coserConfig)
public void showErrorDialog(Component parent, String message, Throwable cause)
parent - parent componentmessage - message for usercause - exception causepublic void showErrorDialog(String message)
message - message for userpublic void showErrorDialog(String message, Throwable cause)
message - message for usercause - exception causepublic void reportError(org.jdesktop.swingx.error.ErrorInfo errorInfo)
reportError in interface org.jdesktop.swingx.error.ErrorReporterCopyright © 2010-2013 Ifremer. All Rights Reserved.