diff options
Diffstat (limited to 'libjava/classpath/java/util/ResourceBundle.java')
-rw-r--r-- | libjava/classpath/java/util/ResourceBundle.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libjava/classpath/java/util/ResourceBundle.java b/libjava/classpath/java/util/ResourceBundle.java index 91007e9b1aa..6aea6731a5d 100644 --- a/libjava/classpath/java/util/ResourceBundle.java +++ b/libjava/classpath/java/util/ResourceBundle.java @@ -419,7 +419,11 @@ public abstract class ResourceBundle } } - throw new MissingResourceException("Bundle " + baseName + " not found", + throw new MissingResourceException("Bundle " + baseName + + " not found for locale " + + locale + + " by classloader " + + classLoader, baseName, ""); } @@ -508,8 +512,7 @@ public abstract class ResourceBundle * * @param baseName the raw bundle name, without locale qualifiers * @param locale the locale - * @param classloader the classloader - * @param bundle the backup (parent) bundle + * @param classLoader the classloader * @param wantBase whether a resource bundle made only from the base name * (with no locale information attached) should be returned. * @return the resource bundle if it was loaded, otherwise the backup |