public static ExtensionMessage GetExtensionMessage(long extensionMessageID)
 {            
     try
     {
         ExtensionMessageDAO extensionMessageDAO = new ExtensionMessageDAO();
         return extensionMessageDAO.GetExtensionMessage(extensionMessageID);                
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessGetExtensionMessageException, ex);
     }
 }                
 public static void UpdateExtensionMessage(ExtensionMessage extensionMessage)
 {            
     try
     {
         ExtensionMessageDAO extensionMessageDAO = new ExtensionMessageDAO();
         extensionMessageDAO.UpdateExtensionMessage(extensionMessage);
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessUpdateExtensionMessageException, ex);
     }
 }        
 public static ExtensionMessageCollection GetExtensionMessageList(ExtensionMessageColumns orderBy, string orderDirection)
 {            
     try
     {
         ExtensionMessageDAO extensionMessageDAO = new ExtensionMessageDAO();
         return extensionMessageDAO.GetExtensionMessageList(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.BusinessGetExtensionMessageListException, ex);
     }
 }