LibreOffice: BatchUpdateException Exception Reference

LibreOffice LibreOffice 25.8 SDK API Reference

Loading...
Searching...
No Matches
BatchUpdateException Exception Referencepublished

is thrown when an error occurs during a batch update operation. More...

`import "BatchUpdateException.idl";`

Inheritance diagram for BatchUpdateException:

## Public Types
typedef sequence< long > | UpdateCounts
| is an array of `long` , with each element indicating the update count for a SQL command that executed successfully before the exception was thrown.

## Additional Inherited Members
Public Attributes inherited from SQLException
string | SQLState
| returns a string, which uses the XOPEN SQLState conventions.
long | ErrorCode
| returns an integer error code that is specific to each vendor.
any | NextException
| returns a chain to the next Exception.
Public Attributes inherited from Exception
string | Message
| gives a detailed description of the reason, why the exception was thrown.
com::sun::star::uno::XInterface | Context
| should contain a reference to the original, which raised the exception.

## Detailed Description

is thrown when an error occurs during a batch update operation.

In addition to the information provided by com::sun::star::sdbc::SQLException , a `BatchUpdateException` provides the update counts for all commands that were executed successfully during the batch update, that is, all commands that were executed before the error occurred. The order of elements in an array of update counts corresponds to the order in which commands were added to the batch.

## Member Typedef Documentation

## ◆ UpdateCounts

sequence<long> UpdateCounts

is an array of `long` , with each element indicating the update count for a SQL command that executed successfully before the exception was thrown.

The documentation for this exception was generated from the following file:

- com/sun/star/sdbc/BatchUpdateException.idl