Class: Hypertable::ThriftGen::ClientException

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

Overview

Exception for thrift clients.

<dl>

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

</dl>

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



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end