|
LibreOffice
LibreOffice 5.3 SDK API Reference
|
is an exception that provides information on a database access error. More...
import"SQLException.idl";
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... | |
is an exception that provides information on a database access error.
Each com::sun::star::sdbc::SQLException provides several kinds of information:
| 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. A chain to the next Exception. This can be used to provide additional error information.
| any NextException |
returns a chain to the next Exception.
This can be used to provide additional error information.
| string SQLState |
returns a string, which uses the XOPEN SQLState conventions.
The values of the SQLState string are described in the XOPEN SQL spec.
1.8.13