-
public class PlutoExceptions
-
-
Field Summary
Fields Modifier and Type Field Description private LongmainThreadResponseThresholdpublic final static PlutoExceptionsINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitsetExceptionHandler(Thread.UncaughtExceptionHandler uncaughtExceptionHandler)final UnitsetANRHandler(UncaughtANRHandler anrHandler)final LonggetMainThreadResponseThreshold()The threshold for main thread response time before resulting in ANR. final UnitsetMainThreadResponseThreshold(Long mainThreadResponseThreshold)The threshold for main thread response time before resulting in ANR. -
-
Method Detail
-
setExceptionHandler
final Unit setExceptionHandler(Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
-
setANRHandler
final Unit setANRHandler(UncaughtANRHandler anrHandler)
-
getMainThreadResponseThreshold
final Long getMainThreadResponseThreshold()
The threshold for main thread response time before resulting in ANR.
-
setMainThreadResponseThreshold
final Unit setMainThreadResponseThreshold(Long mainThreadResponseThreshold)
The threshold for main thread response time before resulting in ANR.
-
-
-
-