internal ParagoServiceException(ParagoServiceFault fault) : base(fault.Message) { HasFaultMessage = true; ServerSource = fault.Source; ServerException = fault.Exception; }
public static FaultException <ParagoServiceFault> GetFaultException(this Exception e) { if (e == null) { throw new ArgumentNullException("e"); } ParagoServiceFault fault = new ParagoServiceFault(e); return(new FaultException <ParagoServiceFault>(fault, fault.Message)); }