Exception: Archipelago::Treasure::IllegalCommitException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Archipelago::Treasure::IllegalCommitException
- Defined in:
- lib/archipelago/treasure.rb
Overview
Raised if anyone tries to commit a non-prepared transaction.
Instance Method Summary collapse
-
#initialize(source, transaction) ⇒ IllegalCommitException
constructor
A new instance of IllegalCommitException.
Constructor Details
#initialize(source, transaction) ⇒ IllegalCommitException
Returns a new instance of IllegalCommitException.
80 81 82 |
# File 'lib/archipelago/treasure.rb', line 80 def initialize(source, transaction) super("#{transaction} is not prepared in #{source}") end |