## Class TTemplateException

Description

TTemplateException class

TTemplateException represents an exception caused by invalid template syntax.

- since: 3.1
- version: $Id: TException.php 2606 2009-02-11 15:24:27Z haertl.mike $
- author: Qiang Xue <qiang.xue@gmail.com>

Located in /Exceptions/TException.php (line 224)

    Exception
       |
       --TException
          |
          --TSystemException
             |
             --TConfigurationException
                |
                --TTemplateException

Method Summary
integer getLineNumber ()
string getTemplateFile ()
string getTemplateSource ()
void setLineNumber (integer $value)
void setTemplateFile (string $value)
void setTemplateSource (string $value)
Variables

#### Inherited Variables

Inherited from TException

> TException::$_messageCache

Methods
getLineNumber (line 265)

- return: the line number at which the template has error
- access: public

integer getLineNumber ()
getTemplateFile (line 249)

- return: the template file that causes the exception. This could be empty if the template is an embedded template. In this case, use TemplateSource to obtain the actual template content.
- access: public

string getTemplateFile ()
getTemplateSource (line 233)

- return: the template source code that causes the exception. This is empty if TemplateFile is not empty.
- access: public

string getTemplateSource ()
setLineNumber (line 273)

- access: public

void setLineNumber (integer $value)

- integer $value: the line number at which the template has error

setTemplateFile (line 257)

- access: public

void setTemplateFile (string $value)

- string $value: the template file that causes the exception

setTemplateSource (line 241)

- access: public

void setTemplateSource (string $value)

- string $value: the template source code that causes the exception

#### Inherited Methods

Inherited From TException

> TException::__construct()
> TException::getErrorCode()
> TException::getErrorMessage()
> TException::getErrorMessageFile()
> TException::setErrorCode()
> TException::setErrorMessage()
> TException::translateErrorMessage()

Documentation generated on Mon, 22 Feb 2010 12:17:42 +0000 by phpDocumentor 1.3.0RC4