20 cerr <<
"Starting main() ..." << endl;
22#ifndef DEFECT_NO_EXCEPTIONS
28 cerr <<
"About to: ZMthrow( Oops(\"Ouch\") )" << endl;
31 cerr <<
"Got past: ZMthrow( Oops(\"Ouch\") ) -- not good!" << endl;
32#ifndef DEFECT_NO_EXCEPTIONS
34 catch (
const Oops egad ) {
35 cerr <<
"Caught: Oops" << endl;
38 cerr <<
"Caught: ZMexception" << endl;
41 cerr <<
"Caught: don't know what" << endl;
45 cerr <<
"Done." << endl;
#define ZMexStandardDefinition(Parent, Class)
#define ZMthrow(userExcept)