view
Class MBSView.GUIExceptionHandler

java.lang.Object
  extended by view.MBSView.GUIExceptionHandler
Enclosing class:
MBSView

public class MBSView.GUIExceptionHandler
extends java.lang.Object

Nested class that is registered as the handler for exceptions on the Swing event thread. The handler will put up an alert panel, dump the stack trace to the console, and then exit entire program rather than persist in an inconsistent state, which would be the default behavior.


Constructor Summary
MBSView.GUIExceptionHandler()
           
 
Method Summary
 void handle(java.lang.Throwable e)
          Handle the exception by displaying a dialog box and exiting.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBSView.GUIExceptionHandler

public MBSView.GUIExceptionHandler()
Method Detail

handle

public void handle(java.lang.Throwable e)
Handle the exception by displaying a dialog box and exiting.

Parameters:
e - exception that occurred