예제 #1
0
 void QueryPlanSet::Runner::initOp( QueryOp &op ) {
     try {
         op.init();
     } catch ( const std::exception &e ) {
         op.setExceptionMessage( e.what() );
     } catch ( ... ) {
         op.setExceptionMessage( "Caught unknown exception" );
     }        
 }
예제 #2
0
 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" );
     }        
 }
예제 #3
0
 void QueryPlanSet::Runner::initOp( QueryOp &op ) {
     GUARD_OP_EXCEPTION( op, op.init() );
 }