Cache: ezcCacheInvalidDataException
[ ]
[ ]
[ ]
[ ]
[ ]
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:
From
Exception (Internal Class):
|
protected |
$code
|
|
protected |
$file
|
|
protected |
$line
|
|
protected |
$message
|
|
private |
$string
|
|
private |
$trace
|
Method Summary
|
public void |
__construct(
$actualType, $expectedTypes )
Creates a new ezcCacheInvalidDataException. |
Inherited Methods
From
ezcBaseException :
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(
mixed
$actualType,
$expectedTypes )
Creates a new ezcCacheInvalidDataException.
Parameters
| Name |
Type |
Description |
$actualType |
mixed |
Type of data received. |
$expectedTypes |
array |
Expected data types. |
Redefinition of
Last updated: Mon, 27 Jul 2009