From malon@sun3.hep.anl.gov Thu Oct 30 15:34:42 1997 Date: Thu, 30 Oct 1997 17:34:26 -0600 To: challenge@sseos.lbl.gov Subject: Objectivity File Locator Errors Cc: malon@sun3.hep.anl.gov From: "David M. Malon" As agreed at our meeting today, I have investigated Objectivity's behavior when a database file cannot be located. It is, in fact, possible to detect this problem in two ways: 1. The open() method returns a non-zero status code, and one can then check the most recent error data (global variables). while (!dbHandle.open(innerName, oocRead)) { cout<<"\t*** Last error was "<errorN<<" (level "; cout<message<>answer; if (answer!='y' && answer!='Y') { cout<<"Aborting transaction and exiting."<