lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 1

Surface.OutOfResourcesException

public static class Surface.OutOfResourcesException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.view.Surface.OutOfResourcesException


Exception thrown when a Canvas couldn't be locked with Surface.lockCanvas(Rect), or when a SurfaceTexture could not successfully be allocated.

Summary

Public constructors

Surface.OutOfResourcesException()
Surface.OutOfResourcesException(String name)

Inherited methods

Public constructors

Surface.OutOfResourcesException

added in API level 1
public Surface.OutOfResourcesException ()

Surface.OutOfResourcesException

added in API level 1
public Surface.OutOfResourcesException (String name)

Parameters
name String