A user of an app I wrote recently discovered a crash caused by an empty string being passed to Float.valueOf(String s)
. I assumed that since Android Studio warned me about other unchecked exceptions that it would warn me about all of them.
I went to the inspections settings and searched for "exception" but I couldn't find a setting to warn about all exceptions. Is there a way to make Android Studio warn me about all unchecked exceptions or otherwise discover these kind of bugs at compile time rather than runtime?