internal ParagoServiceException(ParagoServiceFault fault)
     : base(fault.Message)
 {
     HasFaultMessage = true;
     ServerSource    = fault.Source;
     ServerException = fault.Exception;
 }
예제 #2
0
        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));
        }