Package tigase.server

Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void uncaughtException​(java.lang.Thread t, java.lang.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​(java.lang.Thread t,
                                      java.lang.Throwable e)
        Specified by:
        uncaughtException in interface java.lang.Thread.UncaughtExceptionHandler