jmri.util.exceptionhandler
Class UncaughtExceptionHandler

Show UML class diagram
java.lang.Object
  extended by jmri.util.exceptionhandler.UncaughtExceptionHandler
All Implemented Interfaces:
Thread.UncaughtExceptionHandler

public class UncaughtExceptionHandler
extends Object
implements Thread.UncaughtExceptionHandler

Class to log exceptions that rise to the top of threads, including to the top of the AWT event processing loop. Using code must install this with

  Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler());


Field Summary
(package private) static org.slf4j.Logger log
           
 
Constructor Summary
UncaughtExceptionHandler()
           
 
Method Summary
 void uncaughtException(Thread t, Throwable e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static org.slf4j.Logger log
Constructor Detail

UncaughtExceptionHandler

public UncaughtExceptionHandler()
Method Detail

uncaughtException

public void uncaughtException(Thread t,
                              Throwable e)
Specified by:
uncaughtException in interface Thread.UncaughtExceptionHandler


Copyright © 1997-2013 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads