OptimisticLockException Class Reference

Detailed Description

OptimisticLockException signals an exception when trying to create an optimistic lock.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 19 of file OptimisticLockException.php.

+ Inheritance diagram for OptimisticLockException:

Public Member Functions

 __construct ($currentState)
 
 getCurrentState ()
 

Constructor & Destructor Documentation

__construct (   $currentState)

Constructor.

Parameters
$currentStatePersistentObject instance representing the current object state or null, if the object is deleted

Definition at line 28 of file OptimisticLockException.php.

Member Function Documentation

getCurrentState ( )

Get the current object.

Returns
PersistentObject instance

Definition at line 45 of file OptimisticLockException.php.