Code example for MissingResourceException

Methods: getMessage

0
    protected ResourceBundle doGetBundle(String basename, Locale locale) {
        try { 
            return super.doGetBundle(basename, locale);
        } catch (MissingResourceException e) {
            if (logger.isDebugEnabled()) { 
                logger.debug("ResourceBundle [" + basename + "] not found for MessageSource: " + e.getMessage());
            } 
            return null; 
        } 
 
    } 
 
}