Exception: Thrift::Exception

Inherits:
StandardError
  • Object
show all
Defined in:
lib/thrift/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Exception

Returns a new instance of Exception.



22
23
24
25
# File 'lib/thrift/exceptions.rb', line 22

def initialize(message)
  super
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



27
28
29
# File 'lib/thrift/exceptions.rb', line 27

def message
  @message
end