# Print output for @column tags ?> SurfaceHolder.BadSurfaceTypeException - Android SDK | Android Developers

Most visited

Recently visited

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

public BadSurfaceTypeException ()

BadSurfaceTypeException

public BadSurfaceTypeException (String name)

Parameters
name String