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// |
Child Class | Description |
---|---|
ezcPersistentObjectNotFoundException | Exception thrown if an object to be loaded could not be found. |
From ezcBaseException | |
---|---|
public |
ezcBaseException::$originalMessage
|
From Exception (Internal Class) | |
protected |
$code
|
protected |
$file
|
protected |
$line
|
protected |
$message
|
private |
$previous
|
private |
$string
|
private |
$trace
|
public void |
__construct(
$msg
, [ $query
= null] )
Constructs a new ezcPersistentQueryException with additional information in $msg. |
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 ( )
|
Constructs a new ezcPersistentQueryException with additional information in $msg.
You can also provide the query for debugging purposes.
Name | Type | Description |
---|---|---|
$msg |
string | |
$query |
string |
Method | Description |
---|---|
ezcPersistentObjectException::__construct() |
Constructs a new ezcPersistentObjectException with error message $message and reason code $reason. |
Method | Description |
---|---|
ezcPersistentObjectNotFoundException::__construct() |
Creates a new exception for the object of $class with $id. |