LibreOffice
LibreOffice 7.4 SDK API Reference
Public Attributes | List of all members
SQLException Exception Referencepublished

is an exception that provides information on a database access error. More...

import"SQLException.idl";

Inheritance diagram for SQLException:
Exception RowSetVetoException BatchUpdateException SQLWarning ResultSetException SQLContext DataTruncation

Public Attributes

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 an exception that provides information on a database access error.

Each com::sun::star::sdbc::SQLException provides several kinds of information:

Member Data Documentation

◆ ErrorCode

long ErrorCode

returns an integer error code that is specific to each vendor.

Normally this will be the actual error code returned by the underlying database.

◆ NextException

any NextException

returns a chain to the next Exception.

This can be used to provide additional error information.

◆ SQLState

string SQLState

returns a string, which uses the XOPEN SQLState conventions.

The values of the SQLState string are described in the XOPEN SQL spec.


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