March 2005
Beginner to intermediate
1254 pages
104h 21m
English
MissingResourceException
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( ); }
Locale.{getISO3Country( ),
getISO3Language( )}
Read now
Unlock full access