Path

ez components / documentation / api reference / 2006.2 / template


eZ Components 2006.2

Template: ezcTemplateException

[ Tutorial ] [ EBNF ] [ Functions ] [ Syntax ] [ 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.
ezcTemplateOutdatedCompilationException
ezcTemplateTstNodeException Exception for problems in parser element code.
ezcTemplateInternalException
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.
ezcTemplateCustomBlockException
ezcTemplateRuntimeException
ezcTemplateCompilationFailedException
ezcTemplateNoOutputContextException Exception for for missing output contexts in classes.
ezcTemplateNoManagerException Exception for for missing managers in classes.
ezcTemplateSourceToTstParserException Exception for failed element parsers.
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.
ezcTemplateLocatorNotFoundException Exception for missing locator handlers in the template manager. The tried location object is passed to the constructor.
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.
ezcTemplateOutdatedCompilationException::__construct() Creates a exception for outdated compilations, error message is specified by caller.
ezcTemplateTstNodeException::__construct() Initialises the exception with the type of error which automatically generates an exception message.
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.
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.
ezcTemplateSourceToTstParserException::__construct() Initialises the exception with the failing elements, parser, source code and error messages.
ezcTemplateFileNotWriteableException::__construct()  
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.
ezcTemplateLocatorNotFoundException::__construct() Initialises the exception with the location object $location which contains the locator which is missing.
ezcTemplateInvalidCompiledFileException::__construct() Initialises the exception with the location object $location which contains the locator which is missing.

Last updated: Thu, 01 Nov 2007