Package io.vertx.mysqlclient
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
public class MySQLBatchException extends VertxException
MySQLBatchExceptionis thrown if an error occurs during executions when usingPreparedQuery.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MySQLBatchException()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Integer,Throwable>getIterationError()Get the detailed errors of all failed iterations in batching.voidreportError(int iteration, Throwable error)-
Methods inherited from class io.vertx.core.VertxException
noStackTrace, noStackTrace, noStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-