|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.sql.SQLException
java.sql.SQLWarning
public class SQLWarning
An exception class that holds information about Database access warnings.
| Constructor Summary | |
|---|---|
SQLWarning()
Creates an SQLWarning object. |
|
SQLWarning(String theReason)
Creates an SQLWarning object. |
|
SQLWarning(String theReason,
String theSQLState)
Creates an SQLWarning object. |
|
SQLWarning(String theReason,
String theSQLState,
int theErrorCode)
Creates an SQLWarning object. |
|
| Method Summary | |
|---|---|
SQLWarning |
getNextWarning()
Gets the SQLWarning chained to this SQLWarning object. |
void |
setNextWarning(SQLWarning w)
Chains a supplied SQLWarning to this SQLWarning. |
| Methods inherited from class java.sql.SQLException |
|---|
getErrorCode, getNextException, getSQLState, setNextException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SQLWarning()
public SQLWarning(String theReason)
theReason -
public SQLWarning(String theReason,
String theSQLState)
theReason - the string to use as the Reason stringtheSQLState - the string to use as the SQLState string
public SQLWarning(String theReason,
String theSQLState,
int theErrorCode)
theReason - theSQLState - theErrorCode - | Method Detail |
|---|
public SQLWarning getNextWarning()
public void setNextWarning(SQLWarning w)
w - the SQLWarning to chain to this SQLWarning.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||