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.

<dl>

<dt>code</dt><dd>Internal use (defined in src/cc/Common/Error.h)</dd>
<dt>what</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
WHAT =
2
FIELDS =
{
  CODE => {:type => ::Thrift::Types::I32, :name => 'code'},
  WHAT => {:type => ::Thrift::Types::STRING, :name => 'what'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end