Exception: Archipelago::Treasure::RollbackException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Archipelago::Treasure::RollbackException
- Defined in:
- lib/archipelago/treasure.rb
Overview
Raised whenever the optimistic locking of the serializable transaction isolation level was proved wrong.
Instance Method Summary collapse
-
#initialize(chest, transaction) ⇒ RollbackException
constructor
A new instance of RollbackException.
Constructor Details
#initialize(chest, transaction) ⇒ RollbackException
Returns a new instance of RollbackException.
49 50 51 |
# File 'lib/archipelago/treasure.rb', line 49 def initialize(chest, transaction) super("#{chest} has been modified during #{transaction}") end |