Java In A Nutshell, 5th Edition

MissingResourceException java.util

Java 1.1 serializable unchecked

Signals that no ResourceBundle can be located for the desired locale or that a named resource cannot be found within a given ResourceBundle . getClassName( ) returns the name of the ResourceBundle class in question, and getKey( ) returns the name of the resource that cannot be located.

Figure 16-45. java.util.MissingResourceException

public class MissingResourceException extends RuntimeException { // Public Constructors public MissingResourceException (String s , String className , String key ); // Public Instance Methods public String getClassName ( ); public String getKey ( ); }

Thrown By

Locale.{getISO3Country( ) , getISO3Language( )}

Категории