(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: sdbc ::

interface XWarningsSupplier
Description
should be implemented of objects which may report warnings or non critical errors.
See also
SQLWarning

Methods' 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.  
Methods' Details
getWarnings
any
getWarnings()
raises( 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.
clearWarnings
void
clearWarnings()
raises( 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

Apache Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.