Path

ez components / documentation / api reference / latest / cache


eZ Components latest

Cache: ezcCacheInvalidIdException

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

Class: ezcCacheInvalidIdException

Exception that is thrown if the given cache ID does not exist. [source]
Caches must be created using ezcCacheManager::createCache() before they can be access using ezcCacheManager::getCache(). If you try to access a non-existent cache ID, this exception will be thrown.

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcCacheException
         |
         --ezcCacheInvalidIdException

Inherited Member Variables

From ezcBaseException:
public  ezcBaseException::$originalMessage
From Exception (Internal Class):
protected  $code
protected  $file
protected  $line
protected  $message
private  $string
private  $trace

Method Summary

public void __construct( $id )
Creates a new ezcCacheInvalidIdException.

Inherited Methods

From ezcBaseException :
public ezcBaseException ezcBaseException::__construct()
Constructs a new ezcBaseException with $message
From Exception (Internal Class) :
public Exception constructor __construct ( $message, $code )
public void getCode ( )
public void getFile ( )
public void getLine ( )
public void getMessage ( )
public void getTrace ( )
public void getTraceAsString ( )
public void __clone ( )
public void __toString ( )

Methods

__construct

void __construct( string $id )
Creates a new ezcCacheInvalidIdException.

Parameters

Name Type Description
$id string The invalid ID.

Redefinition of

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

Last updated: Mon, 21 Dec 2009