Path

ez components / documentation / api reference / 1.0 / persistentobject


eZ Components 1.0

PersistentObject: ezcPersistentObjectException

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

Class: ezcPersistentObjectException

General exception class for the PersistentObject package. [source]
All exceptions in the persistent object package are derived from this exception.

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcPersistentObjectException

Descendents

Child Class Description
ezcPersistentObjectNotPersistentException Exception thrown when a method that requires a persistent object is provided an object not yet persistent.
ezcPersistentDefinitionNotFoundException General exception class for the PersistentObject package.
ezcPersistentObjectAlreadyPersistentException Exception thrown when a method that requires a non-persistent object is provided an object that is already persistent.
ezcPersistentQueryException Exception thrown when a query failed internally in Persistent Object.
ezcPersistentIdentifierGenerationException Exception thrown when generating an ID for a persistent object failed.

Inherited Member Variables

From ezcBaseException:
public  ezcBaseException::$originalMessage

Method Summary

public void __construct( $message, $code )
Constructs a new ezcPersistentObjectException with error message $message and error code $code.

Inherited Methods

From ezcBaseException :
public ezcBaseException ezcBaseException::__construct()
Constructs a new ezcBaseException with $message

Methods

__construct

void __construct( string $message, int $code )
Constructs a new ezcPersistentObjectException with error message $message and error code $code.

Parameters

Name Type Description
$message string  
$code int  

Redefinition of

Method Description
ezcBaseException::__construct() Constructs a new ezcBaseException with $message

Redefined in descendants as

Method Description
ezcPersistentObjectNotPersistentException::__construct() Constructs a new ezcPersistentObjectNotPersistentException for the class $class.
ezcPersistentDefinitionNotFoundException::__construct() Constructs a new ezcPersistentDefinitionNotFoundException for the class $class with the additional error information $message.
ezcPersistentObjectAlreadyPersistentException::__construct() Constructs a new ezcPersistentObjectAlreadyPersistentException for the class $class.
ezcPersistentQueryException::__construct() Constructs a new ezcPersistentQueryException with additional information in $msg.
ezcPersistentIdentifierGenerationException::__construct() Constructs a new ezcPersistentIdentifierGenerationException for the class $class.

Last updated: Thu, 31 Jan 2008