简体   繁体   中英

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.

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

Its not used to handling the errors.

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM