How to set ACRA to handle special kind of exceptions

98 Views Asked by At

I configured ACRA and it works fine. I just want to know if its possible to force ACRA to handle special kind of exceptions like IOException and do nothing for other kinds.

3

There are 3 best solutions below

4
On

ACRA means Application Crash Report for Android Its for indicating and showing the error to the developers.

Its not used to handling the errors.

0
On

I don't think you understand the Java Exception mechanism.

An IOException is a checked Exception. That means your code needs to deal with it in order to compile. You can certainly use ACRA to notify you of that exception when you explicitly deal with it.

1
On

Of course you can handle those exceptions. But you have to be smart. Please take a look at this post: Android ACRA with handled exceptions