class Thrift::ProtocolException
Constants
- BAD_VERSION
- INVALID_DATA
- NEGATIVE_SIZE
- SIZE_LIMIT
- 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/protocol/base_protocol.rb, line 34 def initialize(type=UNKNOWN, message=nil) super(message) @type = type end