Class: Teapot::TempestDB::SQLException

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

Constant Summary collapse

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

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ SQLException

Returns a new instance of SQLException.



174
175
176
177
# File 'lib/gen/tempest_types.rb', line 174

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

Instance Method Details

#struct_fieldsObject



185
# File 'lib/gen/tempest_types.rb', line 185

def struct_fields; FIELDS; end

#validateObject



187
188
# File 'lib/gen/tempest_types.rb', line 187

def validate
end