substitute /HopMacro/Macro/ in messages.

This commit is contained in:
hns 2005-01-25 17:04:47 +00:00
parent 771c13d82d
commit 7e45ee5fbf

View file

@ -572,7 +572,7 @@ public final class Skin {
msg = x.toString(); msg = x.toString();
} }
msg = "[HopMacro error in " + fullName + ": " + msg + "]"; msg = "[Macro error in " + fullName + ": " + msg + "]";
reval.res.write(" " + msg + " "); reval.res.write(" " + msg + " ");
app.logEvent(msg); app.logEvent(msg);
} }
@ -620,7 +620,7 @@ public final class Skin {
private void renderFromParam(RequestEvaluator reval, Map paramObject) private void renderFromParam(RequestEvaluator reval, Map paramObject)
throws UnsupportedEncodingException { throws UnsupportedEncodingException {
if (paramObject == null) { if (paramObject == null) {
reval.res.write("[HopMacro error: Skin requires a parameter object]"); reval.res.write("[Macro error: Skin requires a parameter object]");
} else { } else {
Object value = paramObject.get(name); Object value = paramObject.get(name);
@ -703,7 +703,7 @@ public final class Skin {
} }
public String toString() { public String toString() {
return "[HopMacro: " + fullName + "]"; return "[Macro: " + fullName + "]";
} }
/** /**