|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.architect.swingui.ExceptionHandler
public class ExceptionHandler
The ExceptionHandler catches uncaught exceptions and handles them gracefully by showing an error message dialog and posting a report to SQL Power.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_REPORT_URL
The URL to post the error report to if the system property that overrides it isn't defined. |
| Constructor Summary | |
|---|---|
ExceptionHandler(ArchitectSwingSessionContext context)
The exception handler is used for handling uncaught exceptions. |
|
| Method Summary | |
|---|---|
void |
uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
The uncaughtException method displays an exception dialog to the user and posts a report to SQL Power at the url specified in the system properties (or the default if not specified). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_REPORT_URL
| Constructor Detail |
|---|
public ExceptionHandler(ArchitectSwingSessionContext context)
context - The context is used to get additional information about the
state of the Architect when an uncaught exception is caught
here.| Method Detail |
|---|
public void uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
uncaughtException in interface java.lang.Thread.UncaughtExceptionHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||