Exemplo n.º 1
0
 public DomainException(object errorCode, string message = null)
     : base(message ?? ErrorCodeDictionary.GetErrorMessage(errorCode))
 {
     ErrorCode = errorCode;
 }
Exemplo n.º 2
0
 public DomainException(object errorCode, object[] args)
     : base(ErrorCodeDictionary.GetErrorMessage(errorCode, args))
 {
     ErrorCode = errorCode;
 }
Exemplo n.º 3
0
 public DomainException(object errorCode, object[] args, Exception innerException = null)
     : base(ErrorCodeDictionary.GetErrorMessage(errorCode, args), innerException)
 {
     ErrorCode = errorCode;
 }