Path

ez components / documentation / api reference / latest / template


eZ Components latest

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
ezcTemplateParserException Exception for failed element parsers.
ezcTemplateInternalException ezcTemplateInternalException is thrown when the Template engine comes into an unstable state.
ezcTemplateTypeHintException Exception for problems in parser element code.
ezcTemplateFileNotReadableException Exception for problems when reading from template files.
ezcTemplateFileNotFoundException Exception for problems when accessing template files which does not exists.
ezcTemplateSourceToTstParserException Exception for failed element parsers.
ezcTemplateCustomBlockException ezcTemplateCustomBlock exception is thrown when an error occurs while processing a Custom Block.
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.
ezcTemplateCompilationFailedException ezcTemplateCompilationFailedException is thrown when a template could not be compiled.
ezcTemplateNoOutputContextException Exception for for missing output contexts in classes.
ezcTemplateNoManagerException Exception for for missing managers in classes.
ezcTemplateFileNotWriteableException Exception for problems when writing to template files.
ezcTemplateFileFailedUnlinkException Exception for problems when unlinking template files.
ezcTemplateFileFailedRenameException Exception for problems when renaming template files.
ezcTemplateInvalidCompiledFileException Exception for missing invalid compiled 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
ezcTemplateParserException::__construct() Initialises the exception with the failing elements, parser, source code and error messages.
ezcTemplateInternalException::__construct() Creates a template internal exception.
ezcTemplateTypeHintException::__construct() This exception should be caught, and rethrown. The message is not important.
ezcTemplateFileNotReadableException::__construct() Initialises the exception with the template file path.
ezcTemplateFileNotFoundException::__construct() Initialises the exception with the template file path.
ezcTemplateSourceToTstParserException::__construct() Initialises the exception with the failing elements, parser, source code and error messages.
ezcTemplateCustomBlockException::__construct() Initialises the CustomBlock exception with the given message.
ezcTemplateRuntimeException::__construct() Constructs a template runtime exception with message $msg.
ezcTemplateCompilationFailedException::__construct() Creates a exception for failed compilations, error message is specified by caller.
ezcTemplateNoOutputContextException::__construct() Initialises the exception with the location object $location which contains the locator which is missing.
ezcTemplateNoManagerException::__construct() Initialises the exception with the location object $location which contains the locator which is missing.
ezcTemplateFileNotWriteableException::__construct() Constructor
ezcTemplateFileFailedUnlinkException::__construct() Initialises the exception with the template file path.
ezcTemplateFileFailedRenameException::__construct() Initialises the exception with the original template file path and the new file path.
ezcTemplateInvalidCompiledFileException::__construct() Initialises the exception with the location object $location which contains the locator which is missing.

Last updated: Mon, 21 Dec 2009