Exception: ActiveRecord::ConnectionAdapters::SQLAnywhereException
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveRecord::ConnectionAdapters::SQLAnywhereException
- Defined in:
- lib/active_record/connection_adapters/sqlanywhere_jdbc_in4systems_adapter.rb
Instance Attribute Summary collapse
-
#errno ⇒ Object
readonly
Returns the value of attribute errno.
-
#sql ⇒ Object
readonly
Returns the value of attribute sql.
Instance Method Summary collapse
-
#initialize(message, errno, sql) ⇒ SQLAnywhereException
constructor
A new instance of SQLAnywhereException.
Constructor Details
#initialize(message, errno, sql) ⇒ SQLAnywhereException
Returns a new instance of SQLAnywhereException.
94 95 96 97 98 |
# File 'lib/active_record/connection_adapters/sqlanywhere_jdbc_in4systems_adapter.rb', line 94 def initialize(, errno, sql) super() @errno = errno @sql = sql end |
Instance Attribute Details
#errno ⇒ Object (readonly)
Returns the value of attribute errno.
91 92 93 |
# File 'lib/active_record/connection_adapters/sqlanywhere_jdbc_in4systems_adapter.rb', line 91 def errno @errno end |
#sql ⇒ Object (readonly)
Returns the value of attribute sql.
92 93 94 |
# File 'lib/active_record/connection_adapters/sqlanywhere_jdbc_in4systems_adapter.rb', line 92 def sql @sql end |