public class CBExceptionHandler
extends java.lang.Object
implements java.lang.Thread.UncaughtExceptionHandler
Modifier and Type | Method and Description |
---|---|
static CBExceptionHandler |
getInstance()
单例模式获取异常句柄
|
void |
init(android.content.Context context)
设置系统默认UncaughtExceptionHandler
|
void |
uncaughtException(java.lang.Thread thread,
java.lang.Throwable ex) |
public static CBExceptionHandler getInstance()
public void init(android.content.Context context)
public void uncaughtException(java.lang.Thread thread, java.lang.Throwable ex)
uncaughtException
in interface java.lang.Thread.UncaughtExceptionHandler