Class ErrorHandler

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

    public class ErrorHandler
    extends java.lang.Object
    implements java.lang.Thread.UncaughtExceptionHandler
    Handles error.
    Author:
    Pinaki Poddar
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handle​(java.lang.Throwable e)  
      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

      • ErrorHandler

        public ErrorHandler()
    • Method Detail

      • handle

        public void handle​(java.lang.Throwable e)
      • uncaughtException

        public void uncaughtException​(java.lang.Thread t,
                                      java.lang.Throwable e)
        Specified by:
        uncaughtException in interface java.lang.Thread.UncaughtExceptionHandler