class Thrift::TransportException

Constants

ALREADY_OPEN
END_OF_FILE
NOT_OPEN
TIMED_OUT
UNKNOWN

Attributes

type[R]

Public Class Methods

new(type=UNKNOWN, message=nil) click to toggle source
Calls superclass method Thrift::Exception.new
# File usr/lib/ruby/vendor_ruby/thrift/transport/base_transport.rb, line 30
def initialize(type=UNKNOWN, message=nil)
  super(message)
  @type = type
end