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;
 }
Example #4
0
 public static string GetDescriptionByCode(WebApiExceptionCode code)
 {
     return ErrStringDictionary[code];
 }
Example #5
0
 public WebApiException(WebApiExceptionCode code, string strErrorMessage, Exception exOrg = null)
     : base(strErrorMessage, exOrg)
 {
     ExceptionCode = code;
 }
Example #6
0
 public WebApiException(WebApiExceptionCode code, Exception exOrg = null)
     : base(ErrStringDictionary[code], exOrg)
 {
     ExceptionCode = code;
 }