1 package com.teamkonzept.lib; 2 3 12 public class TKTemplateSyntaxException extends Exception { 13 14 public String templatePath; 15 public String what; 16 public String type; 17 public String info; 18 19 27 public TKTemplateSyntaxException (String templatePath, String what, String type, String info) { 28 super("Syntax error (type \"" + what + "\") of tag " + type + ":" + info + 29 " in file \"" + templatePath + "\""); 30 this.templatePath = templatePath; 31 this.what = what; 32 this.type = type; 33 this.info = info; 34 } 35 36 public TKTemplateSyntaxException(String message) 37 { 38 super(message); 39 } 40 } 42 | Popular Tags |