Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1.     }
  2.     catch( const mysqlpp::BadQuery &exception ) {
  3.  
  4.         this->addWarningToLog( std::string( exception.what() ) + " using query: " + updateQuery.str() );
  5.         return "invalid";
  6.  
  7.     }
  8.     catch( const mysqlpp::Exception &exception ) {
  9.  
  10.         this->addErrorToLog( std::string( exception.what() ) + " using query: " + updateQuery.str() );
  11.         return "invalid";
  12.        
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement