Class MySQLBatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.vertx.core.VertxException
io.vertx.mysqlclient.MySQLBatchException
- All Implemented Interfaces:
Serializable
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.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the detailed errors of all failed iterations in batching.voidreportError(int iteration, Throwable error) Methods inherited from class VertxException
noStackTrace, noStackTrace, noStackTraceMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MySQLBatchException
public MySQLBatchException()
-
-
Method Details
-
getIterationError
-
reportError
-