|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.patterncoder.ErrorHandler
public class ErrorHandler
Handles all errors that are produced by the patterns extension. Provides options to either display a message to the user or log the error into the log file.
| Constructor Summary | |
|---|---|
ErrorHandler()
|
|
| Method Summary | |
|---|---|
static void |
logErrorMsg(java.lang.String s)
Logs the message sent to it. |
static void |
printErrorMsg(java.lang.String error)
Displays an error dialog box to the user, with the specified message. |
static void |
printErrorMsg(java.lang.String error,
java.lang.Throwable throwable)
Displays an error dialog box to the user, with the specified message. |
static void |
printWarningMsg(java.lang.String warning)
Displays a warning message dialog to the user, with the specified message. |
static void |
printWarningMsg(java.lang.String warning,
java.lang.Throwable throwable)
Displays a warning message dialog to the user, with the specified message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorHandler()
| Method Detail |
|---|
public static void logErrorMsg(java.lang.String s)
s - Message to log.public static void printErrorMsg(java.lang.String error)
error - Messsage to display.public static void printWarningMsg(java.lang.String warning)
warning - Message to display.
public static void printErrorMsg(java.lang.String error,
java.lang.Throwable throwable)
error - Messsage to display.throwable - throwable raised by program exception
public static void printWarningMsg(java.lang.String warning,
java.lang.Throwable throwable)
warning - Message to display.throwable - throwable raised by program exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||