Zeta Components Manual :: Docs For Class ezcPersistentIdentityRelatedObjectAlreadyExistsException
PersistentObject::ezcPersistentIdentityRelatedObjectAlreadyExistsException
Class ezcPersistentIdentityRelatedObjectAlreadyExistsException
Exception thrown if a related objects is added twice to a set of related objects.
ezcPersistentIdentityMap::addRelatedObject() throws this exception, if the same related object is added twice.
Source for this file: /PersistentObject/src/exceptions/identity_related_object_already_exists.php
Exception | --ezcBaseException | --ezcPersistentObjectException | --ezcPersistentIdentityRelatedObjectAlreadyExistsException
Version: | //autogen// |
Inherited Member Variables
From ezcBaseException | |
---|---|
public |
ezcBaseException::$originalMessage
|
From Exception (Internal Class) | |
protected |
$code
|
protected |
$file
|
protected |
$line
|
protected |
$message
|
private |
$previous
|
private |
$string
|
private |
$trace
|
Method Summary
public ezcPersistentIdentityRelatedObjectAlreadyExistsException |
__construct(
$class
, $id
, $relatedClass
, $relatedId
, [ $relationName
= null] )
Creates a new ezcPersistentIdentityRelatedObjectAlreadyExistsException. |
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 = ], [$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 ( )
|
Methods
__construct
ezcPersistentIdentityRelatedObjectAlreadyExistsException
__construct(
string
$class
, mixed
$id
, string
$relatedClass
, mixed
$relatedId
, [string
$relationName
= null] )
Creates a new ezcPersistentIdentityRelatedObjectAlreadyExistsException.
Creates a new ezcPersistentIdentityRelatedObjectAlreadyExistsException for the object of $class with ID $id and the related objects of class $relatedClass, with optional set name $relationName.
Parameters:
Name | Type | Description |
---|---|---|
$class |
string | |
$id |
mixed | |
$relatedClass |
string | |
$relatedId |
mixed | |
$relationName |
string |
Redefinition of:
Method | Description |
---|---|
ezcPersistentObjectException::__construct() |
Constructs a new ezcPersistentObjectException with error message $message and reason code $reason. |
Documentation generated by phpDocumentor 1.4.3