LibreOffice: XSQLErrorListener Interface Reference

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
XSQLErrorListener Interface Referencepublished

the listener interface for receiving "errorOccured" events posted by any database object. More...

`import "XSQLErrorListener.idl";`

Inheritance diagram for XSQLErrorListener:

## Public Member Functions
void | errorOccured ([in]com::sun::star::sdb::SQLErrorEvent aEvent)
| invoked when a database error occurs, just before a com::sun::star::sdbc::SQLException is thrown to the application.
Public Member Functions inherited from XEventListener
void | disposing ([in] com::sun::star::lang::EventObject Source)
| gets called when the broadcaster is about to be disposed.
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.

## Detailed Description

the listener interface for receiving "errorOccured" events posted by any database object.

## Member Function Documentation

## ◆ errorOccured()

void errorOccured | ( | [in] com::sun::star::sdb::SQLErrorEvent | aEvent | ) |

invoked when a database error occurs, just before a com::sun::star::sdbc::SQLException is thrown to the application.

Parameters

  aEvent | the event which occurred

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

- com/sun/star/sdb/XSQLErrorListener.idl