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会抛出此异常。
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
|
Resources.NotFoundException (String name)
Parameters | |
---|---|
name |
String
|
Resources.NotFoundException (String name, 异常 cause)
Parameters | |
---|---|
name |
String
|
cause |
异常
|