Пример #1
0
 public ServiceException(ServiceExceptionCode errorCode, Exception innerException)
     : base(errorCode.ToString(), innerException)
 {
     ErrorCode = errorCode;
 }
Пример #2
0
 public ServiceException(ServiceExceptionCode errorCode)
     : base(errorCode.ToString())
 {
     ErrorCode = errorCode;
 }