3 // An exception class for lost classes... ;-)
4 class InvalidTemplateVariableNameException extends FrameworkException {
8 * @param $class An array holding our informations
9 * @param $code Code number for the exception
12 public final function __construct ($class, $code) {
13 // Add a message around the missing class
14 $message = sprintf("[%s:%d] Die im Template <u>%s</u> gefundene Variable <u>%s</u> ist nicht gültig! Gültige Variablennamen sind nur <u>%s</strong>.",
15 $class[0]->__toString(),
19 $class[3]->readConfig("tpl_valid_var")
22 // Call parent constructor
23 parent::__construct($message, $code);