From bec1ab257c7704def8631f7c65036fda47941264 Mon Sep 17 00:00:00 2001 From: rk Date: Mon, 24 Sep 2001 23:55:07 +0000 Subject: [PATCH] MirCoders independant --- source/mir/misc/HTMLTemplateProcessor.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/mir/misc/HTMLTemplateProcessor.java b/source/mir/misc/HTMLTemplateProcessor.java index 139c6946..3d6e40ce 100755 --- a/source/mir/misc/HTMLTemplateProcessor.java +++ b/source/mir/misc/HTMLTemplateProcessor.java @@ -178,11 +178,12 @@ public final class HTMLTemplateProcessor { */ public static void process(HttpServletResponse res,String templateFilename, TemplateModelRoot tmr, PrintWriter out) throws HTMLParseException { - if (out==null) throw new HTMLParseException("KEIN OUTPUTSTREAM"); + if (out==null) throw new HTMLParseException("no outputstream"); Template tmpl = getTemplateFor(templateFilename); - if (tmpl == null) throw new HTMLParseException("KEIN TEMPLATE: " + templateFilename); + if (tmpl == null) throw new HTMLParseException("no template: " + templateFilename); if (tmr==null) tmr = new SimpleHash(); + /** @todo what is this for? (rk) */ String session=null; if (res!=null) { session=res.encodeURL(""); -- 2.11.0