public class MySQLBatchException extends RuntimeException
MySQLBatchException
is thrown if an error occurs during executions when using PreparedQuery.executeBatch(List)
.
The client will try to execute with all the params no matter if one iteration of the executions fails, the iteration count is counted from zero.Constructor and Description |
---|
MySQLBatchException() |
Modifier and Type | Method and Description |
---|---|
Map<Integer,Throwable> |
getIterationError()
Get the detailed errors of all failed iterations in batching.
|
void |
reportError(int iteration,
Throwable error) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2023 Eclipse. All rights reserved.