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.
Asked
Active
Viewed 78 times
3 Answers
1
ACRA means Application Crash Report for Android Its for indicating and showing the error to the developers.
Its not used to handling the errors.

GrIsHu
- 29,068
- 10
- 64
- 102
-
I know but is there any way to do it? – Mojtaba Mahamed Jan 07 '14 at 09:00
-
@MojtabaMahamed Don't you know about the Exception handling mechanism in android ? – GrIsHu Jan 07 '14 at 09:11
-
@GrlsHu Of course I know but the issue is I cant clarify it to you :) – Mojtaba Mahamed Jan 07 '14 at 10:08
-
@MojtabaMahamed Then i am sorry i can not give you any solution. – GrIsHu Jan 07 '14 at 10:18
0
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 mean I want ACRA to catch IOException without try catch block. I want to configure ACRA to handle only and only IOException or any special exception – Mojtaba Mahamed Jan 07 '14 at 08:59
0
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.

William
- 20,150
- 8
- 49
- 91