edu.sc.seis.fissuresUtil.exceptionHandler
Class GUIReporter
java.lang.Object
edu.sc.seis.fissuresUtil.exceptionHandler.GUIReporter
- All Implemented Interfaces:
- ExceptionReporter
public class GUIReporter
- extends java.lang.Object
- implements ExceptionReporter
Description: This class can be used to display the GUI showing the exception
along with useful information. It also shows the stackTrace. It also gives
the option of saving the exception stack trace along with other useful
information added by the user. Created: Thu Jan 31 16:39:57 2002
Method Summary |
static void |
appendToGreeting(java.lang.String title,
java.lang.String contents)
|
void |
report(java.lang.String message,
java.lang.Throwable e,
java.util.List sections)
|
void |
setAtMostOneAtATime(boolean b)
Determines if the display will show more than one exception at a time. |
static void |
swapGreetingAndHandle(java.lang.Throwable t,
java.lang.String temporaryGreeting)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GUIReporter
public GUIReporter()
report
public void report(java.lang.String message,
java.lang.Throwable e,
java.util.List sections)
- Specified by:
report
in interface ExceptionReporter
setAtMostOneAtATime
public void setAtMostOneAtATime(boolean b)
- Determines if the display will show more than one exception at a time.
The default is TRUE.
appendToGreeting
public static void appendToGreeting(java.lang.String title,
java.lang.String contents)
swapGreetingAndHandle
public static void swapGreetingAndHandle(java.lang.Throwable t,
java.lang.String temporaryGreeting)