Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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 Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

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