|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jmo.mailmessager.utils.ExceptionHandler
public abstract class ExceptionHandler
Abstract class containing static methods to log timestamp of exception's occurence and its stack trace. Also controls showing Tray Icon balloon messages.
MailMessagerConstants,
MailMessagerStatusBar,
MailMessagerTray| Constructor Summary | |
|---|---|
ExceptionHandler()
|
|
| Method Summary | |
|---|---|
static void |
logException(java.lang.Exception e)
Logs timestamp and stack trace. |
static void |
logException(java.lang.Exception e,
boolean closeStatusBar,
boolean showBalloon)
Logs timestamp and stack trace. |
static void |
logException(java.lang.Exception e,
boolean closeStatusBar,
boolean showBalloon,
boolean exit,
long delay)
Logs timestamp and stack trace. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionHandler()
| Method Detail |
|---|
public static void logException(java.lang.Exception e)
e - Caught Exception
public static void logException(java.lang.Exception e,
boolean closeStatusBar,
boolean showBalloon)
e - Caught ExceptioncloseStatusBar - True to close Status Bar, false otherwiseshowBalloon - True to show the balloon message, false otherwise
public static void logException(java.lang.Exception e,
boolean closeStatusBar,
boolean showBalloon,
boolean exit,
long delay)
e - Caught ExceptioncloseStatusBar - True to close Status Bar, false otherwiseshowBalloon - True to show the balloon message, false otherwiseexit - True to exit the application, false otherwisedelay - Time in milliseconds to have thread sleep
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||