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:
-
a string describing the error. This is used as the
Exception
message.
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
|
|
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.
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.
Syntax
any NextException;
Description
returns a chain to the next Exception.
This can be used to provide additional
error information.
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.