Class BatchedTooManyRowsAffectedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class BatchedTooManyRowsAffectedException
    extends TooManyRowsAffectedException
    Much like TooManyRowsAffectedException, indicates that more rows than what we were expecting were affected. Additionally, this form occurs from a batch and carries along the batch position that failed.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BatchedTooManyRowsAffectedException​(java.lang.String message, int expectedRowCount, int actualRowCount, int batchPosition)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getBatchPosition()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BatchedTooManyRowsAffectedException

        public BatchedTooManyRowsAffectedException​(java.lang.String message,
                                                   int expectedRowCount,
                                                   int actualRowCount,
                                                   int batchPosition)
    • Method Detail

      • getBatchPosition

        public int getBatchPosition()