ThreadGroup.uncaughtException

ThreadGroup.uncaughtException

Class Overview | Class Members | This Package | All Packages

Syntax
public void uncaughtException( Thread t, Throwable e )
Parameters
t
the thread that is about to exit.
e
the uncaught exception.
Description
Called by the Java Virtual Machine when a thread in this thread group stops because of an uncaught exception.

The uncaughtException method of ThreadGroup does the following:

Applications can override this method in subclasses of ThreadGroup to provide alternative handling of uncaught exceptions.

See Also
err, ThreadDeath, printStackTrace