Exception: LockHeld

Inherits:
LockError show all
Defined in:
lib/amp/support/support.rb

Instance Attribute Summary collapse

Attributes inherited from LockError

#desc, #errno, #filename

Instance Method Summary collapse

Methods inherited from LockError

#to_s

Constructor Details

#initialize(errno, filename, desc, locker) ⇒ LockHeld

Returns a new instance of LockHeld.



63
64
65
66
# File 'lib/amp/support/support.rb', line 63

def initialize(errno, filename, desc, locker)
  super(errno, "Lock Held", filename, desc)
  @locker = locker
end

Instance Attribute Details

#lockerObject (readonly)

Returns the value of attribute locker.



62
63
64
# File 'lib/amp/support/support.rb', line 62

def locker
  @locker
end