using System;
using System.Collections.Generic;
using System.Text;

namespace XmlRpcProxy
{
    public class FaultException : Exception
    {
        private int _faultCode;

        public int FaultCode
        {
            get { return _faultCode; }
            set { _faultCode = value; }
        }

        public FaultException(int faultCode, string faultString)
            : base(faultString)
        {
            _faultCode = FaultCode;
        }

    }
}
