Vân Anh Nguyen
Member
How do I handle exceptions in Android?
Answer
First, if a handler has been set on the current Thread , this will be invoked. Next up will be a handler on the ThreadGroup , before finally, the
default handler is invoked, which will handle all uncaught JVM exceptions by printing a stacktrace, and then terminating the app.
Answer
First, if a handler has been set on the current Thread , this will be invoked. Next up will be a handler on the ThreadGroup , before finally, the
default handler is invoked, which will handle all uncaught JVM exceptions by printing a stacktrace, and then terminating the app.