Esempio n. 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" );
     }        
 }
Esempio n. 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" );
     }        
 }