Cache: ezcCacheInvalidKeyException
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcCacheInvalidKeyException
|
Exception thrown if a certain cache key could not be processed by a backend. [
source]
The keys used in memory backends (like
ezcCacheMemcacheBackend) underly certain validation rules. If one of these rules does not match a key, this exception is thrown.
Parents
Exception
|
--ezcBaseException
|
--ezcCacheException
|
--ezcCacheInvalidKeyException
Inherited Member Variables
From
ezcBaseException:
From
Exception (Internal Class):
|
protected |
$code
|
|
protected |
$file
|
|
protected |
$line
|
|
protected |
$message
|
|
private |
$string
|
|
private |
$trace
|
Method Summary
|
public ezcCacheInvalidKeyException |
__construct(
$key, [$reason = null] )
Creates a new invalid key exception. |
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
ezcCacheInvalidKeyException __construct(
string
$key, [string
$reason = null] )
Creates a new invalid key exception.
Indicates that $key is not a valid cache key for a certain storage. $reason specifies what is invalid about the key.
Parameters
| Name |
Type |
Description |
$key |
string |
|
$reason |
string |
|
Redefinition of
Last updated: Mon, 27 Jul 2009