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 RealSQLWarning (RealSQL-JDBC) (realsqlwarning.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 | +--java.sql.SQLWarning | +--com.northgateis.reality.realsql.RealSQLWarning
Wrapper object for SQLWarning's generated by the driver.
The constructors are the same as used by java.sql.SQLWarning, but with the
supplied reason
string concatenated to the vender and driver names.
Example:
RealSQLWarning(reason)
Is transformed into:
SQLWarning("[Northgate][RealSQL-JDBC]" + reason)
SQLWarning
, Serialized FormConstructor Summary | |
RealSQLWarning(java.lang.Exception e)
Create's a new RealSQLWarning with the reason set to
e.getMessage() . |
|
RealSQLWarning(java.lang.String reason)
|
|
RealSQLWarning(java.lang.String reason,
java.lang.String SQLState)
|
|
RealSQLWarning(java.lang.String reason,
java.lang.String SQLState,
int vendorCode)
|
Methods inherited from class java.sql.SQLWarning |
getNextWarning,
setNextWarning |
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 RealSQLWarning(java.lang.String reason)
public RealSQLWarning(java.lang.String reason, java.lang.String SQLState)
public RealSQLWarning(java.lang.String reason, java.lang.String SQLState, int vendorCode)
public RealSQLWarning(java.lang.Exception e)
reason
set to
e.getMessage()
.
If the exception is an 'instanceof SQLWarning'
it is chained to
this exception.
e
- exception used to construct a new RealSQLWarning.PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |