Home > DeveloperSection > Interviews > Explain about the exceptions of Android?

Posted on    June-19-2015 12:23 AM

 Android Android  Exception 
 1 Answer(s)
  382  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    June-19-2015 12:23 AM

The following are the exceptions that are supported by Android
* InflateException : When an error conditions are occurred, this exception is thrown
* Surface.OutOfResourceException: When a surface is not created or resized, this exception is thrown
* SurfaceHolder.BadSurfaceTypeException: This exception is thrown from the lockCanvas() method, when invoked on a Surface whose is SURFACE_TYPE_PUSH_BUFFERS
* WindowManager.BadTokenException: This exception is thrown at the time of trying to add view an invalid WindowManager.LayoutParamstoken.

Modified On Jun-19-2015 12:24:16 AM

Don't want to miss updates? Please click the below button!

Follow MindStick