Team LiB
Previous Section Next Section

MissingResourceExceptionjava.util

Java 1.1serializable 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( )}

    Team LiB
    Previous Section Next Section