From: rk Date: Mon, 24 Sep 2001 23:55:07 +0000 (+0000) Subject: MirCoders independant X-Git-Tag: prexmlproducerconfig~435 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=bec1ab257c7704def8631f7c65036fda47941264;p=mir.git MirCoders independant --- 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("");