LibreOffice
LibreOffice 6.2 SDK API Reference
Public Attributes | List of all members
BatchUpdateException Exception Referencepublished

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

import"BatchUpdateException.idl";

Inheritance diagram for BatchUpdateException:
SQLException Exception

Public Attributes

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

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 Data Documentation

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: