Packages:
default
System
System.Caching
System.Collections
System.Data
System.Data.ActiveRecord
System.Data.ActiveRecord.Relations
System.Data.ActiveRecord.Scaffold
System.Data.ActiveReecord.Scaffold.InputBuilder
System.Data.Commom.Sqlite
System.Data.Common
System.Data.Common.Mssql
System.Data.Common.Mysql
System.Data.Common.Oracle
System.Data.Common.Pgsql
System.Data.Common.Sqlite
System.Data.DataGateway
System.Data.SqlMap
System.Data.SqlMap.Configuration
System.Data.SqlMap.Statements
System.Exceptions
System.I18N
System.IO
System.Security
System.Util
System.Web
System.Web.Services
System.Web.UI
System.Web.UI.ActiveControls
System.Web.UI.WebControls
System.Web.UI.WebControls.assets
System.Xml


Classes:
Keyword

Class TTemplateException

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

TTemplateException class

TTemplateException represents an exception caused by invalid template syntax.

Since: 3.1
Author: Qiang Xue <qiang.xue@gmail.com>

Method Summary
integer
string
string
void
setLineNumber ( integer $value)
void
setTemplateFile ( string $value)
void
setTemplateSource ( string $value)
Methods Inherited From TException
TException::getErrorCode(), TException::getErrorMessage(), TException::getErrorMessageFile(), TException::setErrorCode(), TException::setErrorMessage(), TException::translateErrorMessage()

Method Details

getLineNumber

public integer getLineNumber ()

Output
integer the line number at which the template has error
Exception

getTemplateFile

public string getTemplateFile ()

Output
string 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.
Exception

getTemplateSource

public string getTemplateSource ()

Output
string the template source code that causes the exception. This is empty if TemplateFile is not empty.
Exception

setLineNumber

public void setLineNumber (integer $value )

Input
integer$valuethe line number at which the template has error
Output
Exception

setTemplateFile

public void setTemplateFile (string $value )

Input
string$valuethe template file that causes the exception
Output
Exception

setTemplateSource

public void setTemplateSource (string $value )

Input
string$valuethe template source code that causes the exception
Output
Exception