parameters: (self, error_msg, with_rollback=False)
docstring: Raise a DbHelperException and log it
  
          @param error_msg : error message
          @param with_rollback : True if a rollback should be done (default is set to False)
docstring_summary: Raise a DbHelperException and log it
docstring_tokens: Raise a DbHelperException and log it
function: def __raise_dbhelper_exception(self, error_msg, with_rollback=False):
          """Raise a DbHelperException and log it
  
          @param error_msg : error message
          @param with_rollback : True if a rollback should be done (default is set to False)
  
          """
          self.log.error(error_msg)
          if with_rollback:
              self.__session.rollback()
          raise DbHelperException(error_msg)
function_tokens: def __raise_dbhelper_exception ( self , error_msg , with_rollback = False ) : self . log . error ( error_msg ) if with_rollback : self . __session . rollback ( ) raise DbHelperException ( error_msg )