Class: Hypertable::ThriftGen::ClientException

Inherits:
Thrift::Exception
  • Object
show all
Includes:
Thrift::Struct
Defined in:
lib/hypertable/gen-rb/client_types.rb

Overview

Exception for thrift clients.

code
Internal use (defined in src/cc/Common/Error.h)
message
A message about the exception

Note: some languages (like php) don't have adequate namespace, so Exception would conflict with language builtins.

Constant Summary collapse

CODE =
1
MESSAGE =
2
FIELDS =
{
  CODE => {:type => ::Thrift::Types::I32, :name => 'code'},
  MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



245
# File 'lib/hypertable/gen-rb/client_types.rb', line 245

def struct_fields; FIELDS; end

#validateObject



247
248
# File 'lib/hypertable/gen-rb/client_types.rb', line 247

def validate
end