Exception: Archipelago::Treasure::IllegalCommitException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/archipelago/treasure.rb

Overview

Raised if anyone tries to commit a non-prepared transaction.

Instance Method Summary collapse

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