Exception: QRubyDriver::QException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/q-ruby-driver/q_exception.rb

Overview

An exception which was raised by the Q service itself, originating from the server-side

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ QException

Returns a new instance of QException.



9
10
11
# File 'lib/q-ruby-driver/q_exception.rb', line 9

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



7
8
9
# File 'lib/q-ruby-driver/q_exception.rb', line 7

def message
  @message
end