Package tigase.server
Class ThreadExceptionHandler
- java.lang.Object
-
- tigase.server.ThreadExceptionHandler
-
- All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler
public class ThreadExceptionHandler extends java.lang.Object implements java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
uncaughtException(java.lang.Thread t, java.lang.Throwable e)
-