package org.xmlrpc.android;

public class XMLRPCFault extends XMLRPCException {
    /**
     *
     */
    private static final long serialVersionUID = 5676562456612956519L;
    private String faultString;
    private int faultCode;

    public XMLRPCFault(String faultString, int faultCode) {
        super("XMLRPC Fault: " + faultString + " [code " + faultCode + "]");
        this.faultString = faultString;
        this.faultCode = faultCode;
    }

    public String getFaultString() {
        return faultString;
    }

    public int getFaultCode() {
        return faultCode;
    }
}
