Was logging warnings for any message bundle that didn't use a custom
class. Fixed. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4271 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -126,14 +126,17 @@ public class MessageManager
|
||||
try {
|
||||
mbclass = rbundle.getString(MBUNDLE_CLASS_KEY);
|
||||
if (!StringUtil.isBlank(mbclass)) {
|
||||
var clazz :Class = ClassUtil.getClassByName(mbclass);
|
||||
bundle = new clazz();
|
||||
try {
|
||||
var clazz :Class = ClassUtil.getClassByName(mbclass);
|
||||
bundle = new clazz();
|
||||
} catch (ee :Error) {
|
||||
Log.getLog(this).warning(
|
||||
"Failure instantiating custom message bundle " +
|
||||
"[mbclass=" + mbclass + ", error=" + ee + "].");
|
||||
}
|
||||
}
|
||||
|
||||
} catch (t :Error) {
|
||||
Log.getLog(this).warning(
|
||||
"Failure instantiating custom message bundle " +
|
||||
"[mbclass=" + mbclass + ", error=" + t + "].");
|
||||
} catch (eee :Error) {
|
||||
// nada
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user