Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: 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

Copyright © 2003 Sun Microsystems, Inc.