exception SQLException in module com::sun::star::sdbc::

(Global Index)

Syntax

exception 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:

Field 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.

Field Details



SQLState

Syntax

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

Syntax

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

Syntax

any NextException;

Description

returns a chain to the next Exception. This can be used to provide additional error information.

Top of Page