Class MySQLBatchException

  • All Implemented Interfaces:
    Serializable

    public class MySQLBatchException
    extends VertxException
    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:
    Serialized Form
    • Constructor Detail

      • MySQLBatchException

        public MySQLBatchException()
    • Method Detail

      • getIterationError

        public Map<Integer,​Throwable> getIterationError()
        Get the detailed errors of all failed iterations in batching.
        Returns:
        the iteration count and error mapping
      • reportError

        public void reportError​(int iteration,
                                Throwable error)