Method: Thrift::TransportException#initialize

Defined in:
lib/thrift/transport/base_transport.rb

#initialize(type = UNKNOWN, message = nil) ⇒ TransportException

Returns a new instance of TransportException.



31
32
33
34
# File 'lib/thrift/transport/base_transport.rb', line 31

def initialize(type=UNKNOWN, message=nil)
  super(message)
  @type = type
end