Path

ez components / documentation / api reference / 2009.2.1 / persistentobject


eZ Components 2009.2.1

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
ezcPersistentRelationInvalidException Exception thrown, if the class of a relation definition was invalid.
ezcPersistentUndeterministicRelationException Exception thrown, if an operation on a multi-relation class missed the relation name.
ezcPersistentInvalidObjectStateException Exception thrown if the result of $object->getState() is invalid.
ezcPersistentIdentityAlreadyExistsException Exception thrown if an identity is duplicated.
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.
ezcPersistentIdentityRelatedObjectAlreadyExistsException Exception thrown if a related objects is added twice to a set of related objects.
ezcPersistentIdentityMissingException Exception thrown if an identity is expected to be recorded, but is not found.
ezcPersistentDefinitionMissingIdPropertyException Exception thrown, if an object of ezcPersistentObjectDefinition has no idProperty attribute.
ezcPersistentObjectNotPersistentException Exception thrown when a method that requires a persistent object is provided an object not yet persistent.
ezcPersistentSessionNotFoundException This exceptions is used when a database handler could not be found.
ezcPersistentQueryException Exception thrown when a query failed internally in Persistent Object.
ezcPersistentRelationOperationNotSupportedException Exception thrown, if the given relation class ćould not be found.
ezcPersistentIdentifierGenerationException Exception thrown when generating an ID for a persistent object failed.
ezcPersistentRelationNotFoundException Exception thrown, if a desired relation between 2 classes was not found.
ezcPersistentRelatedObjectNotFoundException Exception thrown, if the given relation class could not be found.
ezcPersistentIdentityRelatedObjectsInconsistentException Exception thrown if a set of related objects is inconsistent.

Inherited Member Variables

From ezcBaseException:
public  ezcBaseException::$originalMessage

Method Summary

public void __construct( $message, [$reason = null] )
Constructs a new ezcPersistentObjectException with error message $message and reason code $reason.

Inherited Methods

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

Methods

__construct

void __construct( string $message, [string $reason = null] )
Constructs a new ezcPersistentObjectException with error message $message and reason code $reason.
Reason can be omitted if not applicable.

Parameters

Name Type Description
$message string  
$reason string  

Redefinition of

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

Redefined in descendants as

Method Description
ezcPersistentRelationInvalidException::__construct() Constructs a new ezcPersistentRelationInvalidException for the given relation class $class.
ezcPersistentUndeterministicRelationException::__construct() Constructs a new ezcPersistentUndeterministicRelationException for the given relation class $class.
ezcPersistentInvalidObjectStateException::__construct() Creates a new exception.
ezcPersistentIdentityAlreadyExistsException::__construct() Creates a new ezcPersistentIdentityAlreadyExistsException.
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.
ezcPersistentIdentityRelatedObjectAlreadyExistsException::__construct() Creates a new ezcPersistentIdentityRelatedObjectAlreadyExistsException.
ezcPersistentIdentityMissingException::__construct() Creates a new ezcPersistentIdentityMissingException.
ezcPersistentDefinitionMissingIdPropertyException::__construct() Constructs a new ezcPersistentDefinitionMissingIdPropertyException for the class $class.
ezcPersistentObjectNotPersistentException::__construct() Constructs a new ezcPersistentObjectNotPersistentException for the class $class.
ezcPersistentSessionNotFoundException::__construct() Constructs a new exception.
ezcPersistentQueryException::__construct() Constructs a new ezcPersistentQueryException with additional information in $msg.
ezcPersistentObjectNotFoundException::__construct() Creates a new exception for the object of $class with $id.
ezcPersistentRelationOperationNotSupportedException::__construct() Constructs a new ezcPersistentRelationOperationNotSupportedException for the $class which does not support the $operation in respect to $relatedClass. Optionally a $reason can be given.
ezcPersistentIdentifierGenerationException::__construct() Constructs a new ezcPersistentIdentifierGenerationException for the class $class with the optional message $msg.
ezcPersistentRelationNotFoundException::__construct() Constructs a new ezcPersistentRelationNotFoundException for the class $class which does not have a relation for $relatedClass.
ezcPersistentRelatedObjectNotFoundException::__construct() Constructs a new ezcPersistentRelatedObjectNotFoundException for the object $object which does not have a relation for $relatedClass.
ezcPersistentIdentityRelatedObjectsInconsistentException::__construct() Creates a new ezcPersistentIdentityRelatedObjectsInconsistentException.

Last updated: Tue, 23 Mar 2010