Cache: ezcCacheUsedLocationException
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcCacheUsedLocationException
|
Exception that is thrown when a given location is already in use. [
source]
Only one cache may reside in a specific location to avoid conflicts while storing (
ezcCacheStorage::store()) and restoring (
ezcCacheStorage::restore()) data from a cache. If you try to configure a cache to be used in location that is already taken by another cachein ezcCacheManager::createCache(), this exception will be thrown.
Parents
Exception
|
--ezcBaseException
|
--ezcCacheException
|
--ezcCacheUsedLocationException
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(
$location, $cacheId )
Creates a new ezcCacheUsedLocationException. |
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(
string
$location, string
$cacheId )
Creates a new ezcCacheUsedLocationException.
Parameters
| Name |
Type |
Description |
$location |
string |
The used location. |
$cacheId |
string |
The cache ID using this location. |
Redefinition of
Last updated: Mon, 17 Dec 2007