Util
Class GEVAUncaught.GEVAGlobalUncaught

java.lang.Object
  extended by Util.GEVAUncaught.GEVAGlobalUncaught
All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler
Enclosing class:
GEVAUncaught

public static class GEVAUncaught.GEVAGlobalUncaught
extends java.lang.Object
implements java.lang.Thread.UncaughtExceptionHandler

Every possible internal unexpected exception should be handled by GEVAUncaught, but for external (and forgotted internal) unexpected exceptions, don't allow those to vanish into a non-existing console, instead, output an unhelpful message so the user at least knows there be an error. Currently (2008y08M31d) this is set up on the very first line in main in GEVAPropertiesGUI - I also put it into LSystemViewer main for good measure


Constructor Summary
GEVAUncaught.GEVAGlobalUncaught()
           
 
Method Summary
 void uncaughtException(java.lang.Thread thread, java.lang.Throwable exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GEVAUncaught.GEVAGlobalUncaught

public GEVAUncaught.GEVAGlobalUncaught()
Method Detail

uncaughtException

public void uncaughtException(java.lang.Thread thread,
                              java.lang.Throwable exception)
Specified by:
uncaughtException in interface java.lang.Thread.UncaughtExceptionHandler