|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.app.util.AppUncaughtExceptionHandler
public class AppUncaughtExceptionHandler
Handler for uncaught exceptions in the application threads.
Field Summary | |
---|---|
private Application |
app
The application. |
private Thread.UncaughtExceptionHandler |
orgHandler
The original Handler. |
Constructor Summary | |
---|---|
AppUncaughtExceptionHandler(Thread.UncaughtExceptionHandler orgHandler,
Application app)
Constructor |
Method Summary | |
---|---|
private void |
onUncaughtException(Thread thread,
Throwable ex)
Handler for uncaught exceptions. |
private File |
reportToExternalStorage()
Does log all relevant information to a crash report file on the external storage. |
void |
uncaughtException(Thread thread,
Throwable ex)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Thread.UncaughtExceptionHandler orgHandler
private final Application app
Constructor Detail |
---|
public AppUncaughtExceptionHandler(Thread.UncaughtExceptionHandler orgHandler, Application app)
orgHandler
- the original Handlerapp
- the applicationMethod Detail |
---|
public void uncaughtException(Thread thread, Throwable ex)
uncaughtException
in interface Thread.UncaughtExceptionHandler
private void onUncaughtException(Thread thread, Throwable ex)
thread
- the threadex
- the exceptionprivate File reportToExternalStorage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |