| Class | Thrift::ProtocolException |
| In: |
lib/thrift/protocol/base_protocol.rb
lib/thrift/protocol/base_protocol.rb |
| Parent: | Exception |
| UNKNOWN | = | 0 |
| INVALID_DATA | = | 1 |
| NEGATIVE_SIZE | = | 2 |
| SIZE_LIMIT | = | 3 |
| BAD_VERSION | = | 4 |
| UNKNOWN | = | 0 |
| INVALID_DATA | = | 1 |
| NEGATIVE_SIZE | = | 2 |
| SIZE_LIMIT | = | 3 |
| BAD_VERSION | = | 4 |
| type | [R] | |
| type | [R] |
# File lib/thrift/protocol/base_protocol.rb, line 34
34: def initialize(type=UNKNOWN, message=nil)
35: super(message)
36: @type = type
37: end