Пример #1
0
 public static stock_New Getstock_New(int newsID)
 {            
     try
     {
         stock_NewDAO stock_NewDAO = new stock_NewDAO();
         return stock_NewDAO.Getstock_New(newsID);                
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessGetstock_NewException, ex);
     }
 }