Beispiel #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" );
     }        
 }
Beispiel #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" );
     }        
 }
Beispiel #3
0
 void QueryPlanSet::Runner::initOp( QueryOp &op ) {
     GUARD_OP_EXCEPTION( op, op.init() );
 }