*pOptions->out << "unknown" << endl;
cerr << "CVC4 Error:" << endl << e << endl;
printUsage(*pOptions);
- return Result::SAT_UNKNOWN;
} catch(Exception& e) {
#ifdef CVC4_COMPETITION_MODE
*pOptions->out << "unknown" << endl;
if(pOptions->statistics) {
pStatistics->flushInformation(*pOptions->err);
}
- return Result::SAT_UNKNOWN;
- } catch(bad_alloc) {
-#ifdef CVC4_COMPETITION_MODE
- *pOptions->out << "unknown" << endl;
-#endif
- *pOptions->err << "CVC4 ran out of memory." << endl;
- if(pOptions->statistics) {
- pStatistics->flushInformation(*pOptions->err);
- }
- return Result::SAT_UNKNOWN;
- } catch(...) {
-#ifdef CVC4_COMPETITION_MODE
- *pOptions->out << "unknown" << endl;
-#endif
- *pOptions->err << "CVC4 threw an exception of unknown type." << endl;
- return Result::SAT_UNKNOWN;
}
+ return Result::SAT_UNKNOWN;
}
template<typename T>
#endif
cerr << "CVC4 Error:" << endl << e << endl;
printUsage(options);
- exit(1);
} catch(Exception& e) {
#ifdef CVC4_COMPETITION_MODE
*options.out << "unknown" << endl;
if(options.statistics && pStatistics != NULL) {
pStatistics->flushInformation(*options.err);
}
- exit(1);
- } catch(bad_alloc&) {
-#ifdef CVC4_COMPETITION_MODE
- *options.out << "unknown" << endl;
-#endif
- *options.err << "CVC4 ran out of memory." << endl;
- if(options.statistics && pStatistics != NULL) {
- pStatistics->flushInformation(*options.err);
- }
- exit(1);
- } catch(...) {
-#ifdef CVC4_COMPETITION_MODE
- *options.out << "unknown" << endl;
-#endif
- *options.err << "CVC4 threw an exception of unknown type." << endl;
- exit(1);
}
+ exit(1);
}