Exception: Archipelago::Treasure::RollbackException

Inherits:
RuntimeError
  • Object
show all
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

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