public static ExtensionMessageLog GetExtensionMessageLog(long extensionMessageLogID)
 {            
     try
     {
         ExtensionMessageLogDAO extensionMessageLogDAO = new ExtensionMessageLogDAO();
         return extensionMessageLogDAO.GetExtensionMessageLog(extensionMessageLogID);                
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessGetExtensionMessageLogException, ex);
     }
 }                
 public static void UpdateExtensionMessageLog(ExtensionMessageLog extensionMessageLog)
 {            
     try
     {
         ExtensionMessageLogDAO extensionMessageLogDAO = new ExtensionMessageLogDAO();
         extensionMessageLogDAO.UpdateExtensionMessageLog(extensionMessageLog);
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessUpdateExtensionMessageLogException, ex);
     }
 }        
 public static ExtensionMessageLogCollection GetExtensionMessageLogList(ExtensionMessageLogColumns orderBy, string orderDirection)
 {            
     try
     {
         ExtensionMessageLogDAO extensionMessageLogDAO = new ExtensionMessageLogDAO();
         return extensionMessageLogDAO.GetExtensionMessageLogList(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.BusinessGetExtensionMessageLogListException, ex);
     }
 }