Path

ez components / documentation / api reference / latest / persistentobject


eZ Components latest

PersistentObject: ezcPersistentQueryException

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcPersistentQueryException

Exception thrown when a query failed internally in Persistent Object. [source]

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcPersistentObjectException
         |
         --ezcPersistentQueryException

Descendents

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  $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 )
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 $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.

Last updated: Mon, 21 Dec 2009