Exception: Thrift::TransportException
- Defined in:
- lib/thrift/transport/base_transport.rb
Constant Summary collapse
- UNKNOWN =
0
- NOT_OPEN =
1
- ALREADY_OPEN =
2
- TIMED_OUT =
3
- END_OF_FILE =
4
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Exception
Instance Method Summary collapse
-
#initialize(type = UNKNOWN, message = nil) ⇒ TransportException
constructor
A new instance of TransportException.
Constructor Details
#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, =nil) super() @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
29 30 31 |
# File 'lib/thrift/transport/base_transport.rb', line 29 def type @type end |