| java.lang.Object java.lang.Throwable java.lang.Exception java.sql.SQLException java.sql.SQLWarning
All known Subclasses: java.sql.DataTruncation,
SQLWarning | public class SQLWarning extends SQLException implements Serializable(Code) | | An exception class that holds information about Database access warnings.
|
SQLWarning | public SQLWarning()(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.
|
SQLWarning | public SQLWarning(String theReason)(Code) | | 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.
Parameters: theReason - |
SQLWarning | public SQLWarning(String theReason, String theSQLState)(Code) | | 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.
Parameters: theReason - the string to use as the Reason string Parameters: theSQLState - the string to use as the SQLState string |
SQLWarning | public SQLWarning(String theReason, String theSQLState, int theErrorCode)(Code) | | 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 ErrorCode value.
Parameters: theReason - Parameters: theSQLState - Parameters: theErrorCode - |
getNextWarning | public SQLWarning getNextWarning()(Code) | | Gets the SQLWarning chained to this SQLWarning object.
the SQLWarning chained to this SQLWarning. null if no SQLWarningis chained to this SQLWarning. |
setNextWarning | public void setNextWarning(SQLWarning w)(Code) | | Chains a supplied SQLWarning to this SQLWarning.
Parameters: w - the SQLWarning to chain to this SQLWarning. |
|
|