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 lib/thrift/protocol/base_protocol.rb
34 def initialize(type=UNKNOWN, message=nil)
35   super(message)
36   @type = type
37 end