:: 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
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.