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.