Code example for MissingResourceException

0
            catch (MissingResourceException e2)
            { 
 
                // Now we are really in trouble. 
                // very bad, definitely very bad...not going to get very far 
                throw new MissingResourceException(
                    "Could not load any resource bundles." + m_resourceBundleName,
                    m_resourceBundleName,
                    ""); 
            } 
        } 
        m_resourceBundle = lrb;
        return lrb;
    } 
 
    /** 
     * Return the resource file suffic for the indicated locale 
     * For most locales, this will be based the language code.  However 
     * for Chinese, we do distinguish between Taiwan and PRC 
     * 
     * @param locale the locale