Example usage for Java java.sql BatchUpdateException fields, constructors, methods, implement or subclass
The text is from its open source code.
BatchUpdateException(String reason, String SQLState, int vendorCode, int[] updateCounts) Constructs a BatchUpdateException object initialized with a given reason , SQLState , vendorCode and updateCounts . | |
BatchUpdateException(String reason, String SQLState, int[] updateCounts, Throwable cause) Constructs a BatchUpdateException object initialized with a given reason , SQLState ,cause , and updateCounts . |
int | getErrorCode() Retrieves the vendor-specific exception code for this SQLException object. |
String | getMessage() Returns the detail message string of this throwable. |
SQLException | getNextException() Retrieves the exception chained to this SQLException object by setNextException(SQLException ex). |
String | getSQLState() Retrieves the SQLState for this SQLException object. |
int[] | getUpdateCounts() Retrieves the update count for each update statement in the batch update that executed successfully before this exception occurred. |
void | printStackTrace() Prints this throwable and its backtrace to the standard error stream. |