Most visited

Recently visited

Added in API level 1

Resources.NotFoundException

public static class Resources.NotFoundException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.content.res.Resources.NotFoundException


当找不到请求的资源时,资源API会抛出此异常。

Summary

Public constructors

Resources.NotFoundException()
Resources.NotFoundException(String name)
Resources.NotFoundException(String name, 异常 cause)

Inherited methods

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

Public constructors

Resources.NotFoundException

Added in API level 1
Resources.NotFoundException ()

Resources.NotFoundException

Added in API level 1
Resources.NotFoundException (String name)

Parameters
name String

Resources.NotFoundException

Added in API level 24
Resources.NotFoundException (String name, 
                异常 cause)

Parameters
name String
cause 异常

Hooray!