Most visited

Recently visited

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


当Canvas无法用 lockCanvas(Rect)锁定,或SurfaceTexture无法成功分配时抛出异常。

Summary

Public constructors

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

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

Surface.OutOfResourcesException

Added in API level 1
Surface.OutOfResourcesException ()

Surface.OutOfResourcesException

Added in API level 1
Surface.OutOfResourcesException (String name)

Parameters
name String

Hooray!