Syntax
interface XWarningsSupplier : com::sun::star::uno::XInterface ;
Description
should be implemented of objects which may report warnings or non critical
errors.
See also
- SQLWarning
-
Method Summary
|
getWarnings |
returns the first warning reported by calls on an object that supports
the usage of warnings.
|
|
clearWarnings |
clears all warnings reported for the object implementing the interface.
After a call to this method, the method
XWarningsSupplier::getWarnings()
returns
void
until a new warning is reported for the object.
|
|
Known Services Which Export this Interface
|
com::sun::star::sdbc::Connection -
com::sun::star::sdbc::PreparedStatement -
com::sun::star::sdbc::ResultSet -
com::sun::star::sdbc::Statement -
Method Details
|
|
Syntax
- any getWarnings
();
- raises ( com::sun::star::sdbc::SQLException );
Description
returns the first warning reported by calls on an object that supports
the usage of warnings.
Note: Subsequent warnings will be chained to this
SQLWarning
.
Returns
-
the warnings
Throws
- SQLException
if a database access error occurs.
Syntax
- void clearWarnings
();
- raises ( com::sun::star::sdbc::SQLException );
Description
clears all warnings reported for the object implementing the interface.
After a call to this method, the method
XWarningsSupplier::getWarnings()
returns
void
until a new warning is reported for the object.
Throws
- SQLException
if a database access error occurs.
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.