The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: com :: sun :: star :: sdbc ::

exception SQLException
Base Hierarchy
SQLException
 ┗ ::com::sun::star::uno::Exception
Description
is an exception that provides information on a database access error.

Each SQLException provides several kinds of information:

  • a string describing the error. This is used as the ::com::sun::star::uno::Exception message.


Elements' Summary
SQLState returns a string, which uses the XOPEN SQLState conventions. The values of the SQLState string are described in the XOPEN SQL spec.  
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.  
NextException returns a chain to the next Exception. This can be used to provide additional error information.  
Elements' Details
SQLState
string SQLState;
Description
returns a string, which uses the XOPEN SQLState conventions. The values of the SQLState string are described in the XOPEN SQL spec.
ErrorCode
long ErrorCode;
Description
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.
NextException
any NextException;
Description
returns a chain to the next Exception. This can be used to provide additional error information.
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.