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 lib/thrift/transport/base_transport.rb
31 def initialize(type=UNKNOWN, message=nil)
32   super(message)
33   @type = type
34 end