com.northgateis.reality.realsql
Class RealSQLWarning
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.sql.SQLException
|
+--java.sql.SQLWarning
|
+--com.northgateis.reality.realsql.RealSQLWarning
- public class RealSQLWarning
- extends java.sql.SQLWarning
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)
- See Also:
SQLWarning
, Serialized Form
Constructor 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 |
RealSQLWarning
public RealSQLWarning(java.lang.String reason)
RealSQLWarning
public RealSQLWarning(java.lang.String reason,
java.lang.String SQLState)
RealSQLWarning
public RealSQLWarning(java.lang.String reason,
java.lang.String SQLState,
int vendorCode)
RealSQLWarning
public RealSQLWarning(java.lang.Exception e)
- Create's a new RealSQLWarning with the
reason
set to
e.getMessage()
.
If the exception is an 'instanceof SQLWarning'
it is chained to
this exception.
- Parameters:
e
- exception used to construct a new RealSQLWarning.
NEC welcomes your feedback on our documentation.
If you have any comments about the current Reality Help, or want something to be added in a future revision, please contact your NEC Helpdesk.
If your comment relates to this particular Help topic, remember to include the following information:
Product:
|
RealityVersion 15.5
|
Help revision:
|
Revision 0
|
Help topic:
|
: Class RealSQLWarning
(RealSQL-JDBC)
|
File name:
|
realsqlwarning.html
|