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) : base(FaultException.GetSafeReasonText(reason)) { _code = FaultException.DefaultCode; _reason = FaultException.EnsureReason(reason); }
public FaultException(FaultReason reason, FaultCode code) : base(FaultException.GetSafeReasonText(reason)) { this.code = FaultException.EnsureCode(code); this.reason = FaultException.EnsureReason(reason); }