Example usage for Java java.sql SQLWarning fields, constructors, methods, implement or subclass
The text is from its open source code.
SQLWarning(String reason) Constructs a SQLWarning object with a given reason . | |
SQLWarning(Throwable cause) Constructs a SQLWarning object with a given cause . | |
SQLWarning(String reason, String SQLState) Constructs a SQLWarning object with a given reason and SQLState . | |
SQLWarning(String reason, Throwable cause) Constructs a SQLWarning object with a given reason and cause . | |
SQLWarning(String reason, String SQLState, int vendorCode) Constructs a SQLWarning object with a given reason , SQLState and vendorCode . | |
SQLWarning(String reason, String SQLState, Throwable cause) Constructs a SQLWarning object with a given reason , SQLState and cause . | |
SQLWarning() Constructs a SQLWarning object. |
Throwable | getCause() Returns the cause of this throwable or null if the cause is nonexistent or unknown. |
Class> | getClass() Returns the runtime class of this Object . |
int | getErrorCode() Retrieves the vendor-specific exception code for this SQLException object. |
String | getLocalizedMessage() Creates a localized description of this throwable. |
String | getMessage() Returns the detail message string of this throwable. |
SQLWarning | getNextWarning() Retrieves the warning chained to this SQLWarning object by setNextWarning . |
String | getSQLState() Retrieves the SQLState for this SQLException object. |
void | setNextWarning(SQLWarning w) Adds a SQLWarning object to the end of the chain. |
void | setStackTrace(StackTraceElement[] stackTrace) Sets the stack trace elements that will be returned by #getStackTrace() and printed by #printStackTrace() and related methods. |
String | toString() Returns a short description of this throwable. |