Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: ucb ::

constants group FetchError
Description
These values are used to specify whether and which error has occured while fetching data of some ContentResultSet rows.
See also
FetchResult

Constants
SUCCESS indicates that fetching of data was successful.  
ENDOFDATA indicates that during fetching we went beyond the last or first row.  
EXCEPTION indicates that during fetching we got an exception.  
Constants' Details
SUCCESS
const short SUCCESS = 0;
Description
indicates that fetching of data was successful.
ENDOFDATA
const short ENDOFDATA = 1;
Description
indicates that during fetching we went beyond the last or first row.

Therefore the FetchResult does not contain the full count of demanded rows, but the maximum possible count must be contained.

EXCEPTION
const short EXCEPTION = 2;
Description
indicates that during fetching we got an exception.

The row, that causes the exceptione, and all following ( 'following' in readorder! ) rows are not contained in the FetchResult. Therefore the FetchResult does not contain the full count of demanded rows. But all properly readed rows so far must be contained.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, 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.