MirCoders independant
authorrk <rk>
Mon, 24 Sep 2001 23:55:07 +0000 (23:55 +0000)
committerrk <rk>
Mon, 24 Sep 2001 23:55:07 +0000 (23:55 +0000)
source/mir/misc/HTMLTemplateProcessor.java

index 139c694..3d6e40c 100755 (executable)
@@ -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("");