Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
: Class RealSQLException (RealSQL-JDBC) (realsqlexception.html)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.sql.SQLException | +--com.northgateis.reality.realsql.RealSQLException
Wrapper object for SQLException's generated by the driver.
The constructors are the same as used by java.sql.SQLException, but with the
supplied reason
string concatenated to the vender and driver names.
Example:
RealSQLException(reason)
Is transformed into:
SQLException("[Northgate][RealSQL-JDBC]" + reason)
SQLException
, Serialized FormConstructor Summary | |
RealSQLException(java.lang.Exception e)
Create's a new RealSQLException with the reason set to
e.getMessage() . |
|
RealSQLException(java.lang.String reason)
|
|
RealSQLException(java.lang.String reason,
java.lang.String SQLState)
|
|
RealSQLException(java.lang.String reason,
java.lang.String SQLState,
int vendorCode)
|
Methods inherited from class java.sql.SQLException |
getErrorCode,
getNextException,
getSQLState,
setNextException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public RealSQLException(java.lang.String reason)
public RealSQLException(java.lang.String reason, java.lang.String SQLState)
public RealSQLException(java.lang.String reason, java.lang.String SQLState, int vendorCode)
public RealSQLException(java.lang.Exception e)
reason
set to
e.getMessage()
.
If the exception is an 'instanceof SQLException'
it is chained to
this exception.
e
- exception used to construct a new RealSQLException.PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |