public class ExceptionHandler
extends java.lang.Object
implements java.lang.Thread.UncaughtExceptionHandler
| Modifier and Type | Class and Description |
|---|---|
class |
ExceptionHandler.MyHandler |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CURRENT_CPU_USAGE |
static java.lang.String |
TIME_IN_STATE_PATH |
| Constructor and Description |
|---|
ExceptionHandler(android.content.Context con) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCpuInfo() |
void |
sendData() |
void |
sendErrorMail(java.lang.String errorContent) |
void |
uncaughtException(java.lang.Thread thread,
java.lang.Throwable exception) |
public static final java.lang.String TIME_IN_STATE_PATH
public static final java.lang.String CURRENT_CPU_USAGE
public void uncaughtException(java.lang.Thread thread,
java.lang.Throwable exception)
uncaughtException in interface java.lang.Thread.UncaughtExceptionHandlerpublic java.lang.String getCpuInfo()
public void sendErrorMail(java.lang.String errorContent)
public void sendData()