jmri.util.exceptionhandler
Class UncaughtExceptionHandler

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());

Author:
Bob Jacobsen Copyright 2003, 2010

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
 

Constructor Detail

UncaughtExceptionHandler

public UncaughtExceptionHandler()
Method Detail

uncaughtException

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


Copyright © 1997 - 2011 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