Exceptions that are supported by Andriod
1. InflateException : Exception thrown - When an error conditions are occurred.
2. Surface.OutOfResourceException: Exception thrown - When a surface is not created or resized.
3. SurfaceHolder.BadSurfaceTypeException: Exception thrown - From the lockCanvas() method, when invoked on a Surface whose is SURFACE_TYPE_PUSH_BUFFERS
4. WindowManager.BadTokenException: Exception thrown - At the time of trying to add view an invalid WindowManager.LayoutParamstoken.