
package com.example.loan_approval.wsdl;

import java.math.BigInteger;
import javax.xml.ws.WebFault;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.1.3-b02-
 * Generated source version: 2.0
 * 
 */
@WebFault(name = "integer", targetNamespace = "http://example.com/loan-approval/xsd/error-messages/")
public class ErrorMessage
    extends Exception
{

    /**
     * Java type that goes as soapenv:Fault detail element.
     * 
     */
    private BigInteger faultInfo;

    /**
     * 
     * @param message
     * @param faultInfo
     */
    public ErrorMessage(String message, BigInteger faultInfo) {
        super(message);
        this.faultInfo = faultInfo;
    }

    /**
     * 
     * @param message
     * @param faultInfo
     * @param cause
     */
    public ErrorMessage(String message, BigInteger faultInfo, Throwable cause) {
        super(message, cause);
        this.faultInfo = faultInfo;
    }

    /**
     * 
     * @return
     *     returns fault bean: java.math.BigInteger
     */
    public BigInteger getFaultInfo() {
        return faultInfo;
    }

}
