Added in API level 1

SurfaceHolder.BadSurfaceTypeException

public static class SurfaceHolder.BadSurfaceTypeException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.view.SurfaceHolder.BadSurfaceTypeException


Exception that is thrown from SurfaceHolder.lockCanvas() when called on a Surface whose type is SURFACE_TYPE_PUSH_BUFFERS.

Summary

Public constructors

BadSurfaceTypeException()
BadSurfaceTypeException(String name)

Inherited methods

Public constructors

BadSurfaceTypeException

Added in API level 1
public BadSurfaceTypeException ()

BadSurfaceTypeException

Added in API level 1
public BadSurfaceTypeException (String name)

Parameters
name String