Ticket #9 (closed defect: fixed)
Opened 13 years ago
Configuration default values
| Reported by: | Bernhard Haumacher (haui at haumacher dot de) | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.00 |
| Component: | uka.karmi | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In sources/uka/util/ConfigBundle.java the method getConfigString(key, defaultValue) may throw a java.util.MissingResourceException instead of returning the default value. The problem was a possible confusion between java.util.MissingResourceException and uka.util.ConfigEntryMissingError.
Solution
uka.util.ConfigEntryMissingError is completely superfluous, because java.util.MissingResourceException is a subclass of java.lang.Runtimeexception an has not to be declared, too. Exceptions uka.util.ConfigEntryMissingError and uka.util.ConfigError removed, code cleaned up.
fixed since 1.00.
