Class: Flock::Edges::FlockException

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

Constant Summary collapse

DESCRIPTION =
1
FIELDS =
{
  DESCRIPTION => {:type => ::Thrift::Types::STRING, :name => 'description'}
}

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ FlockException

Returns a new instance of FlockException.



47
48
49
50
# File 'lib/flock/gen-rb/flockdb_types.rb', line 47

def initialize(message=nil)
  super()
  self.description = message
end

Instance Method Details

#messageObject



52
# File 'lib/flock/gen-rb/flockdb_types.rb', line 52

def message; description end

#struct_fieldsObject



60
# File 'lib/flock/gen-rb/flockdb_types.rb', line 60

def struct_fields; FIELDS; end

#validateObject



62
63
# File 'lib/flock/gen-rb/flockdb_types.rb', line 62

def validate
end