public static IncomingMessageContent GetIncomingMessageContent(int incomingMessageContentID)
 {            
     try
     {
         IncomingMessageContentDAO incomingMessageContentDAO = new IncomingMessageContentDAO();
         return incomingMessageContentDAO.GetIncomingMessageContent(incomingMessageContentID);                
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessGetIncomingMessageContentException, ex);
     }
 }                
 public static void UpdateIncomingMessageContent(IncomingMessageContent incomingMessageContent)
 {            
     try
     {
         IncomingMessageContentDAO incomingMessageContentDAO = new IncomingMessageContentDAO();
         incomingMessageContentDAO.UpdateIncomingMessageContent(incomingMessageContent);
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessUpdateIncomingMessageContentException, ex);
     }
 }        
 public static IncomingMessageContentCollection GetIncomingMessageContentList(IncomingMessageContentColumns orderBy, string orderDirection)
 {            
     try
     {
         IncomingMessageContentDAO incomingMessageContentDAO = new IncomingMessageContentDAO();
         return incomingMessageContentDAO.GetIncomingMessageContentList(orderBy, orderDirection);
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessGetIncomingMessageContentListException, ex);
     }
 }