BatchUpdateException
class in package klyn.databases.sql

    public class BatchUpdateException extends SQLException:

Object
└ Exception
└ SQLException
└ BatchUpdateException

Raised when a batch statement stops part-way through execution.

    import klyn.databases.sql

    ex = BatchUpdateException("Batch failed")
    ex.updateCounts = [1l, 1l]
    ex.sqlState = "42000"
    print(ex.updateCounts.size)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public property | updateCounts `updateCounts as ArrayList<Long>` | Update counts already produced before the failure.

Properties inherited from SQLException: sqlState, vendorCode
Properties inherited from Exception: message
Properties inherited from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | BatchUpdateException `BatchUpdateException():` | Creates a batch update exception.
public | BatchUpdateException `BatchUpdateException(message as String):` | No summary.

Methods inherited from Exception: toString
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml