Path

ez components / documentation / api reference / 1.0.1 / cache


eZ Components 1.0.1

Cache: ezcCacheInvalidDataException

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

Class: ezcCacheInvalidDataException

Thrown if the data to be stored in a cache can not be handled by the storage. [source]
Most ezcCacheStorage implementations are only capable of storing scalar and array values, so this exception will be thrown when an incompatible type is submitted for storage, like object or resource.

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcCacheException
         |
         --ezcCacheInvalidDataException

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 ezcCacheInvalidDataException __construct( $actualType, $expectedTypes )

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

ezcCacheInvalidDataException __construct( $actualType, $expectedTypes )

Parameters

Name Type Description
$actualType  
$expectedTypes array  

Redefinition of

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

Last updated: Fri, 02 Nov 2007