Mojtaba Mahamed
Mojtaba Mahamed

Reputation: 505

How to set ACRA to handle special kind of exceptions

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.

Upvotes: 0

Views: 103

Answers (3)

William
William

Reputation: 20196

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.

Upvotes: 0

Manitoba
Manitoba

Reputation: 8702

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

Upvotes: 0

GrIsHu
GrIsHu

Reputation: 23638

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

Its not used to handling the errors.

Upvotes: 1

Related Questions