ERRORS(OC)

Shore Programmer's Manual - 3 November 94

NAME

errors \- error codes and messages for the Shore language-independent library

SYNOPSIS

#include <ShoreApp.h>
class Shore;

DESCRIPTION

In the current release of Shore, error codes are layered, meaning that each layer has a specific set of error codes that it can generate, and in general, these sets do not overlap. Any layer can, however, return an error code that was generated by a lower layer. Below is a list of error codes that can be generated by the Shore language-independent library.

OC_AlreadyInitialized - Object cache already initialized
OC_NotInitialized - Object cache not initialized
OC_OptionsNotInitialized - Options not yet initialized
OC_BadObject - Invalid object
OC_BadVolume - Invalid volume
OC_BadPool - Invalid pool
OC_BadType - Invalid type
OC_BadLockMode - Invalid lock mode
OC_NotAPool - Object is not a pool
OC_NotADir - Object is not a directory
OC_ScanAlreadyOpen - Scan is already open
OC_ScanNotOpen - Scan is not open
OC_EndOfScan - Reached EOF in scan
OC_OutOfMemory - Out of memory
OC_Internal - Object cache internal error

VERSION

This manual page applies to Version 0.1 of theShore software.

SPONSORSHIP

The Shore project is sponsored by the Advanced Research Project Agency, ARPA order number 018 (formerly 8230), monitored by the U.S. Army Research Laboratory under contract DAAB07-91-C-Q518.

COPYRIGHT

Copyright (c) 1994 Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.

SEE ALSO

intro(oc) , init(oc) , process_options(oc) .