lightbulb_outline Please take our October 2018 developer survey. Start survey
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

SurfaceHolder.BadSurfaceTypeException()
SurfaceHolder.BadSurfaceTypeException(String name)

Inherited methods

Public constructors

SurfaceHolder.BadSurfaceTypeException

added in API level 1
public SurfaceHolder.BadSurfaceTypeException ()

SurfaceHolder.BadSurfaceTypeException

added in API level 1
public SurfaceHolder.BadSurfaceTypeException (String name)

Parameters
name String