Package 

Class BacktraceExceptionHandler

    • Method Summary

      Modifier and Type Method Description
      static void setCustomAttributes(Map<String, Object> attributes)
      static void enable(BacktraceClient client) Enable catching unexpected exceptions by BacktraceClient
      void uncaughtException(Thread thread, Throwable throwable) Called when a thread stops because of an uncaught exception
      • Methods inherited from class java.lang.Thread.UncaughtExceptionHandler

        uncaughtException
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • enable

         static void enable(BacktraceClient client)

        Enable catching unexpected exceptions by BacktraceClient

        Parameters:
        client - current Backtrace client instancewhich will be used to send information about exception
      • uncaughtException

         void uncaughtException(Thread thread, Throwable throwable)

        Called when a thread stops because of an uncaught exception

        Parameters:
        thread - thread that is about to exit
        throwable - uncaught exception