Path

ez components / documentation / api reference / latest / persistentobject


eZ Components latest

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

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

Last updated: Mon, 21 Dec 2009