public static string GetDescriptionByCode(WebApiExceptionCode code)
 {
     return(s_dictErrString[code]);
 }
 public WebApiException(WebApiExceptionCode code, string strErrorMessage, Exception exOrg = null)
     : base(strErrorMessage, exOrg)
 {
     ExceptionCode = code;
 }
 public WebApiException(WebApiExceptionCode code, Exception exOrg = null)
     : base(s_dictErrString[code], exOrg)
 {
     ExceptionCode = code;
 }
 public static string GetDescriptionByCode(WebApiExceptionCode code)
 {
     return ErrStringDictionary[code];
 }
 public WebApiException(WebApiExceptionCode code, string strErrorMessage, Exception exOrg = null)
     : base(strErrorMessage, exOrg)
 {
     ExceptionCode = code;
 }
 public WebApiException(WebApiExceptionCode code, Exception exOrg = null)
     : base(ErrStringDictionary[code], exOrg)
 {
     ExceptionCode = code;
 }