I know some of exceptions are thrown by Android framework. Like ActivityNotFoundException
, WindowManager.BadTokenException
.
But i am not aware of all other exceptions which are specific to android framework.
Can anybody list possible android framework specific exceptions with a small description. Or suggest me blogs information which contains the required information.
Thanks in advance.
http://developer.android.com/reference/java/lang/Exception.html I think here you can find it, "Known Indirect Subclasses", totally 224 exceptions. Only choose the one started by "Android", here are about 72 exceptions, these should be the list
The following are the exceptions that are supported by Android:
1.) InflateException : This exception is thrown When an error conditions are occurred.
2.) Surface.OutOfResourceException: This exception is thrown When a surface is not created or resized.
3.) SurfaceHolder.BadSurfaceTypeException: This exception is thrown from the lockCanvas() method, when invoked on a Surface whose is SURFACE_TYPE_PUSH_BUFFERS
4.) WindowManager.BadTokenException: This exception is thrown at the time of trying to add view an invalid WindowManager.LayoutParamstoken.