| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.sql.SQLException | |||
| ↳ | java.sql.SQLWarning | |||
|  Known Direct Subclasses | 
An exception class that holds information about Database access warnings.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Creates an  SQLWarningobject. | |||||||||||
| Creates an  SQLWarningobject. | |||||||||||
| Creates an  SQLWarningobject. | |||||||||||
| Creates an  SQLWarningobject. | |||||||||||
| Creates an SQLWarning object. | |||||||||||
| Creates an SQLWarning object. | |||||||||||
| Creates an SQLWarning object. | |||||||||||
| Creates an SQLWarning object. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gets the next  SQLWarningchained to thisSQLWarningobject. | |||||||||||
| Chains a supplied  SQLWarningto thisSQLWarning. | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.sql.SQLException | |||||||||||
|  From class
  java.lang.Throwable | |||||||||||
|  From class
  java.lang.Object | |||||||||||
|  From interface
  java.lang.Iterable | |||||||||||
Creates an SQLWarning object. The reason string is set to null, the SQLState string is set to null and the error
 code is set to 0.
Creates an SQLWarning object. The reason string is set to the
 given reason string, the SQLState string is set to null
 and the error code is set to 0.
| theReason | the reason why this warning is issued. | 
|---|
Creates an SQLWarning object. The reason string is set to the
 given reason string, the SQLState string is set to the given
 SQLState string and the error code is set to 0.
| theReason | the reason why this warning is issued. | 
|---|---|
| theSQLState | the string to use as the SQLStatestring. | 
Creates an SQLWarning object. The reason string is set to the
 given reason string, the SQLState string is set to the given
 SQLState string and the error code is set to the given error code
 value.
| theReason | the reason why this warning is issued. | 
|---|---|
| theSQLState | the X/Open standard specifc error code. | 
| theErrorCode | a vendor specific error code. | 
Creates an SQLWarning object. The Reason string is set to null, the SQLState string is set to null and the Error Code is set to 0, cause is set to cause.
Creates an SQLWarning object. The Reason string is set to reason, the SQLState string is set to null and the Error Code is set to 0, cause is set to the given cause
Creates an SQLWarning object. The Reason string is set to reason, the SQLState string is set to given SQLState and the Error Code is set to 0, cause is set to the given cause
Creates an SQLWarning object. The Reason string is set to reason, the SQLState string is set to given SQLState and the Error Code is set to vendorCode, cause is set to the given cause
Gets the next SQLWarning chained to this SQLWarning object.
SQLWarning chained to this SQLWarning.
         null if no SQLWarning is chained to this SQLWarning.
Chains a supplied SQLWarning to this SQLWarning.
| w | the SQLWarninglinked to thisSQLWarning. | 
|---|