Apache Zeta Components - high quality PHP components

Apache Zeta Components Manual :: Docs For Class ezcPersistentIdentityAlreadyExistsException

PersistentObject::ezcPersistentIdentityAlreadyExistsException

Class ezcPersistentIdentityAlreadyExistsException

Exception thrown if an identity is duplicated.

In case ezcPersistentSessionIdentityDecorator::loadIntoObject() is used to load an already recorded identity into a second object or if ezcPersistentSessionIdentityDecorator::save() is used to save a second object with an already recorded identity. The latter case is only possible, if ezcPersistentManualGenerator is used to create the objects identifier.

Source for this file: /PersistentObject/src/exceptions/identity_already_exists.php

Exception
   |
   --ezcBaseException
      |
      --ezcPersistentObjectException
         |
         --ezcPersistentIdentityAlreadyExistsException
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 ezcPersistentIdentityAlreadyExistsException __construct( $class , $id )
Creates a new ezcPersistentIdentityAlreadyExistsException.

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

ezcPersistentIdentityAlreadyExistsException __construct( string $class , mixed $id )

Creates a new ezcPersistentIdentityAlreadyExistsException.

Creates a new ezcPersistentIdentityAlreadyExistsException for the object identified by $class and $id.

Parameters:
Name Type Description
$class string
$id mixed
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