Package com.pubmatic.sdk.crashanalytics
Class POBCrashHandler
-
- All Implemented Interfaces:
-
java.lang.Thread.UncaughtExceptionHandler
public final class POBCrashHandler implements Thread.UncaughtExceptionHandler
Crash handler class to record and save the exception.
-
-
Constructor Summary
Constructors Constructor Description POBCrashHandler(Context context, Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
-
Method Summary
Modifier and Type Method Description UnituncaughtException(Thread thread, Throwable throwable)final Unitdestroy()Destroy the POBCrashHandler instance, and assign the Thread.getDefaultUncaughtExceptionHandler] to the defaultUnCaughtExceptionHandler -
-
Constructor Detail
-
POBCrashHandler
POBCrashHandler(Context context, Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
-
-
Method Detail
-
uncaughtException
Unit uncaughtException(Thread thread, Throwable throwable)
-
destroy
final Unit destroy()
Destroy the POBCrashHandler instance, and assign the Thread.getDefaultUncaughtExceptionHandler] to the defaultUnCaughtExceptionHandler
-
-
-
-