internal FaultException(string reason, FaultCode code, string action, Exception innerException) : base(reason, innerException) { Code = FaultException.EnsureCode(code); Reason = FaultException.CreateReason(reason); Action = action; }
public FaultException(string reason, FaultCode code, string action) : base(reason) { Code = FaultException.EnsureCode(code); Reason = FaultException.CreateReason(reason); Action = action; }
internal FaultException(FaultReason reason, FaultCode code, string action, Exception innerException) : base(FaultException.GetSafeReasonText(reason), innerException) { Code = FaultException.EnsureCode(code); Reason = FaultException.EnsureReason(reason); Action = action; }
public FaultException(FaultReason reason, FaultCode code, string action) : base(FaultException.GetSafeReasonText(reason)) { Code = FaultException.EnsureCode(code); Reason = FaultException.EnsureReason(reason); Action = action; }
public FaultException(MessageFault fault) : base(FaultException.GetSafeReasonText(GetReason(fault))) { if (fault == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("fault"); this.code = FaultException.EnsureCode(fault.Code); this.reason = FaultException.EnsureReason(fault.Reason); this.fault = fault; }
public FaultException(MessageFault fault) : base(FaultException.GetSafeReasonText(GetReason(fault))) { if (fault == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(fault)); } Code = FaultException.EnsureCode(fault.Code); Reason = FaultException.EnsureReason(fault.Reason); _fault = fault; }
public FaultException(FaultReason reason, FaultCode code) : base(FaultException.GetSafeReasonText(reason)) { _code = FaultException.EnsureCode(code); _reason = FaultException.EnsureReason(reason); }
public FaultException(string reason, FaultCode code) : base(reason) { _code = FaultException.EnsureCode(code); _reason = FaultException.CreateReason(reason); }