Home:ALL Converter>Where is the standard Java exceptions in Android platform?

Where is the standard Java exceptions in Android platform?

Ask Time:2011-05-20T14:16:28         Author:Olegas

Json Formatter

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?

Author:Olegas,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/6068141/where-is-the-standard-java-exceptions-in-android-platform
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
yy