Zeta Components Manual :: Docs For Class ezcPersistentQueryException
PersistentObject::ezcPersistentQueryException
Class ezcPersistentQueryException
Exception thrown when a query failed internally in Persistent Object.
Source for this file: /PersistentObject/src/exceptions/query_exception.php
Exception | --ezcBaseException | --ezcPersistentObjectException | --ezcPersistentQueryException
Version: | //autogen// |
Descendants
Child Class | Description |
---|---|
ezcPersistentObjectNotFoundException | Exception thrown if an object to be loaded could not be found. |
Inherited Member Variables
From ezcBaseException | |
---|---|
public |
ezcBaseException::$originalMessage
|
From Exception (Internal Class) | |
protected |
$code
|
protected |
$file
|
protected |
$line
|
protected |
$message
|
private |
$previous
|
private |
$string
|
private |
$trace
|
Method Summary
public void |
__construct(
$msg
, [ $query
= null] )
Constructs a new ezcPersistentQueryException with additional information in $msg. |
Inherited Methods
From ezcPersistentObjectException | |
---|---|
public void |
ezcPersistentObjectException::__construct()
Constructs a new ezcPersistentObjectException with error message $message and reason code $reason. |
From ezcBaseException | |
public ezcBaseException |
ezcBaseException::__construct()
Constructs a new ezcBaseException with $message |
From Exception (Internal Class) | |
public Exception |
constructor __construct ( [$message = ], [$code = ], [$previous = ] )
|
public void |
getCode ( )
|
public void |
getFile ( )
|
public void |
getLine ( )
|
public void |
getMessage ( )
|
public void |
getPrevious ( )
|
public void |
getTrace ( )
|
public void |
getTraceAsString ( )
|
public void |
__clone ( )
|
public void |
__toString ( )
|
Methods
__construct
void
__construct(
string
$msg
, [string
$query
= null] )
Constructs a new ezcPersistentQueryException with additional information in $msg.
You can also provide the query for debugging purposes.
Parameters:
Name | Type | Description |
---|---|---|
$msg |
string | |
$query |
string |
Redefinition of:
Method | Description |
---|---|
ezcPersistentObjectException::__construct() |
Constructs a new ezcPersistentObjectException with error message $message and reason code $reason. |
Redefined in descendants as:
Method | Description |
---|---|
ezcPersistentObjectNotFoundException::__construct() |
Creates a new exception for the object of $class with $id. |
Documentation generated by phpDocumentor 1.4.3