void QueryPlanSet::Runner::initOp( QueryOp &op ) { try { op.init(); } catch ( const std::exception &e ) { op.setExceptionMessage( e.what() ); } catch ( ... ) { op.setExceptionMessage( "Caught unknown exception" ); } }
void QueryPlanSet::Runner::nextOp( QueryOp &op ) { try { if ( !op.error() ) op.next(); } catch ( const std::exception &e ) { op.setExceptionMessage( e.what() ); } catch ( ... ) { op.setExceptionMessage( "Caught unknown exception" ); } }
void QueryPlanSet::Runner::initOp( QueryOp &op ) { GUARD_OP_EXCEPTION( op, op.init() ); }