
package org.jboss.soa.bpel.tests.samples.atm;

import javax.xml.ws.WebFault;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.1.6
 * Generated source version: 2.1
 * 
 */
@WebFault(name = "insufficientFunds", targetNamespace = "http://jbpm.org/examples/atm")
public class InsufficientFunds_Exception
    extends Exception
{

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

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

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

    /**
     * 
     * @return
     *     returns fault bean: org.jboss.soa.bpel.samples.quickstart.atm.InsufficientFunds
     */
    public InsufficientFunds getFaultInfo() {
        return faultInfo;
    }

}
