Package tigase.server

# Class ThreadExceptionHandler

java.lang.Object
tigase.server.ThreadExceptionHandler

All Implemented Interfaces:
  `Thread.UncaughtExceptionHandler`

public class ThreadExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
Class ThreadExceptionHandler.java is responsible helper class used to catch all unhandled exception from all threads. This is default handler which sends exception stack trace to log system. If necessary other server packages can use own custom handlers and do something else with unhandled exceptions. This handler is only implemented to avoid hidden exception causing bugs.

Created: Thu Sep 30 22:24:24 2004

Author:
  Artur Hefczyc

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ThreadExceptionHandler()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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 Details

  - ### ThreadExceptionHandler

    public ThreadExceptionHandler()

- ## Method Details

  - ### uncaughtException

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