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