Exception: MarchHare::ConnectionLevelException

Inherits:
Exception
  • Object
show all
Defined in:
lib/march_hare/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, connection_close) ⇒ ConnectionLevelException

Returns a new instance of ConnectionLevelException.



32
33
34
35
36
# File 'lib/march_hare/exceptions.rb', line 32

def initialize(message, connection_close)
  super(message)

  @connection_close = connection_close
end

Instance Attribute Details

#connection_closeObject (readonly)

Returns the value of attribute connection_close.



30
31
32
# File 'lib/march_hare/exceptions.rb', line 30

def connection_close
  @connection_close
end