Class: ActiveRecord::JDBCError
- Inherits:
-
ActiveRecordError
- Object
- ActiveRecordError
- ActiveRecord::JDBCError
- Defined in:
- lib/arjdbc/jdbc/core_ext.rb
Overview
Represents exceptions that have propagated up through the JDBC API.
Instance Attribute Summary collapse
-
#errno ⇒ Object
The vendor code or error number that came from the database.
-
#sql_exception ⇒ Object
The full Java SQLException object that was raised.
Instance Attribute Details
#errno ⇒ Object
The vendor code or error number that came from the database
5 6 7 |
# File 'lib/arjdbc/jdbc/core_ext.rb', line 5 def errno @errno end |
#sql_exception ⇒ Object
The full Java SQLException object that was raised
8 9 10 |
# File 'lib/arjdbc/jdbc/core_ext.rb', line 8 def sql_exception @sql_exception end |