Added in API level 1

MissingResourceException

open class MissingResourceException : RuntimeException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.lang.RuntimeException
   ↳ java.util.MissingResourceException

Signals that a resource is missing.

Summary

Public constructors
MissingResourceException(s: String!, className: String!, key: String!)

Constructs a MissingResourceException with the specified information.

Public methods
open String!

Gets parameter passed by constructor.

open String!

Gets parameter passed by constructor.

Public constructors

MissingResourceException

Added in API level 1
MissingResourceException(
    s: String!,
    className: String!,
    key: String!)

Constructs a MissingResourceException with the specified information. A detail message is a String that describes this particular exception.

Parameters
s String!: the detail message
className String!: the name of the resource class
key String!: the key for the missing resource.

Public methods

getClassName

Added in API level 1
open fun getClassName(): String!

Gets parameter passed by constructor.

Return
String! the name of the resource class

getKey

Added in API level 1
open fun getKey(): String!

Gets parameter passed by constructor.

Return
String! the key for the missing resource