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?
dlev :
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?",
2011-05-20T06:19:41
Eric Obermühlner :
Something must be broken in your setup.\n\nThe Android SDK contains the standard java exceptions in the usual place, in the java.lang package.\n\nFor example (Android 1.5):\n/platforms/android-3/android.jar",
2011-05-20T06:23:33