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 and Description
    `ThreadExceptionHandler()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### ThreadExceptionHandler

          public ThreadExceptionHandler()

  - ### Method Detail

    - #### uncaughtException

          public void uncaughtException(Thread t,
                                        Throwable e)

      Specified by:
        `uncaughtException` in interface `Thread.UncaughtExceptionHandler`

Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.