ti.chimera.service
Class Talkback

java.lang.Object
  extended by ti.chimera.Service
      extended by ti.chimera.service.Talkback

public abstract class Talkback
extends Service

The "talkback" service, used to deal with unhandled exceptions and other error conditions. Can be implemented to, for example, email a bug report to the developer(s).

Version:
0.1
Author:
Rob Clark

Constructor Summary
Talkback()
          Class Constructor.
 
Method Summary
abstract  void uncaughtException(java.lang.Thread t, java.lang.Throwable e)
          Deal with an unhandled exception.
 
Methods inherited from class ti.chimera.Service
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Talkback

public Talkback()
Class Constructor.

Method Detail

uncaughtException

public abstract void uncaughtException(java.lang.Thread t,
                                       java.lang.Throwable e)
Deal with an unhandled exception. The thread (t) may be null, for example if the thread the exception is thrown in is AWT event dispatch thread.

Parameters:
t - the thread the exception was thrown in
e - the exception