Class Thrift::ProtocolException
In: ruby/lib/thrift/protocol/base_protocol.rb
Parent: Exception

Methods

new  

Constants

UNKNOWN = 0
INVALID_DATA = 1
NEGATIVE_SIZE = 2
SIZE_LIMIT = 3
BAD_VERSION = 4

Attributes

type  [R] 

Public Class methods

[Source]

    # File ruby/lib/thrift/protocol/base_protocol.rb, line 34
34:     def initialize(type=UNKNOWN, message=nil)
35:       super(message)
36:       @type = type
37:     end

[Validate]