Package com.mparticle

Class ExceptionHandler

  • All Implemented Interfaces:
    java.lang.Thread.UncaughtExceptionHandler

    public class ExceptionHandler
    extends java.lang.Object
    implements java.lang.Thread.UncaughtExceptionHandler
    Class used to capture and log uncaught exceptions.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExceptionHandler​(java.lang.Thread.UncaughtExceptionHandler originalUncaughtExceptionHandler)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Thread.UncaughtExceptionHandler getOriginalExceptionHandler()  
      void uncaughtException​(java.lang.Thread thread, java.lang.Throwable ex)  
      • Methods inherited from class java.lang.Object

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

      • ExceptionHandler

        public ExceptionHandler​(java.lang.Thread.UncaughtExceptionHandler originalUncaughtExceptionHandler)
    • Method Detail

      • uncaughtException

        public void uncaughtException​(java.lang.Thread thread,
                                      java.lang.Throwable ex)
        Specified by:
        uncaughtException in interface java.lang.Thread.UncaughtExceptionHandler
      • getOriginalExceptionHandler

        public java.lang.Thread.UncaughtExceptionHandler getOriginalExceptionHandler()