Path

ez components / documentation / api reference / 2009.2.1 / template


eZ Components 2009.2.1

Template: ezcTemplateException

[ Tutorial ] [ EBNF ] [ Functions ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcTemplateException

ezcTemplateExceptions are thrown when an exceptional state occurs in the Template package. [source]

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcTemplateException

Descendents

Child Class Description
ezcTemplateSourceToTstParserException Exception for failed element parsers.
ezcTemplateInvalidCompiledFileException Exception for missing invalid compiled files.
ezcTemplateCompilationFailedException ezcTemplateCompilationFailedException is thrown when a template could not be compiled.
ezcTemplateFileNotFoundException Exception for problems when accessing template files which does not exists.
ezcTemplateCustomBlockException ezcTemplateCustomBlock exception is thrown when an error occurs while processing a Custom Block.
ezcTemplateTypeHintException Exception for problems in parser element code.
ezcTemplateFileFailedRenameException Exception for problems when renaming template files.
ezcTemplateParserException Exception for failed element parsers.
ezcTemplateInternalException ezcTemplateInternalException is thrown when the Template engine comes into an unstable state.
ezcTemplateRuntimeException ezcTemplateRuntimeException is thrown when an error occurs while executing a template. For example when a {use} variable without a default value is not given.
ezcTemplateFileNotWriteableException Exception for problems when writing to template files.
ezcTemplateNoManagerException Exception for for missing managers in classes.
ezcTemplateNoOutputContextException Exception for for missing output contexts in classes.
ezcTemplateFileNotReadableException Exception for problems when reading from template files.
ezcTemplateFileFailedUnlinkException Exception for problems when unlinking template files.

Inherited Member Variables

From ezcBaseException:
public  ezcBaseException::$originalMessage

Method Summary

public ezcTemplateException __construct( $message )
Constructs a new ezcTemplateException with error message $message.

Inherited Methods

From ezcBaseException :
public ezcBaseException ezcBaseException::__construct()
Constructs a new ezcBaseException with $message

Methods

__construct

ezcTemplateException __construct( string $message )
Constructs a new ezcTemplateException with error message $message.

Parameters

Name Type Description
$message string  

Redefinition of

Method Description
ezcBaseException::__construct() Constructs a new ezcBaseException with $message

Redefined in descendants as

Method Description
ezcTemplateSourceToTstParserException::__construct() Initialises the exception with the failing elements, parser, source code and error messages.
ezcTemplateInvalidCompiledFileException::__construct() Initialises the exception with the location object $location which contains the locator which is missing.
ezcTemplateCompilationFailedException::__construct() Creates a exception for failed compilations, error message is specified by caller.
ezcTemplateFileNotFoundException::__construct() Initialises the exception with the template file path.
ezcTemplateCustomBlockException::__construct() Initialises the CustomBlock exception with the given message.
ezcTemplateTypeHintException::__construct() This exception should be caught, and rethrown. The message is not important.
ezcTemplateFileFailedRenameException::__construct() Initialises the exception with the original template file path and the new file path.
ezcTemplateParserException::__construct() Initialises the exception with the failing elements, parser, source code and error messages.
ezcTemplateInternalException::__construct() Creates a template internal exception.
ezcTemplateRuntimeException::__construct() Constructs a template runtime exception with message $msg.
ezcTemplateFileNotWriteableException::__construct() Constructor
ezcTemplateNoManagerException::__construct() Initialises the exception with the location object $location which contains the locator which is missing.
ezcTemplateNoOutputContextException::__construct() Initialises the exception with the location object $location which contains the locator which is missing.
ezcTemplateFileNotReadableException::__construct() Initialises the exception with the template file path.
ezcTemplateFileFailedUnlinkException::__construct() Initialises the exception with the template file path.

Last updated: Tue, 23 Mar 2010