I’m wondering there is the standard Java exceptions like NullPointerException, InvalidArgumentException, etc… I can’t find them accessible under Android platform.
Why the Android implemented this way? And if I’m developing some shared Android library, am I need to write my own exceptions?
This link says that
NullPointerException(and many others) are available in even early versions of the API. Where are you looking for them that you aren’t finding them?