Ejemplo n.º 1
0
 public int DelRole(int roleId)
 {
     try
     {
         return(handler.DelRole(roleId));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception innerEx)
     {
         var exception = new LogisticException(BizErrorCode.SystemError, "删除角色出错", innerEx);
         logger.Log(Level.Error, exception, "Error occurred in deleting role.");
         throw exception;
     }
 }