
package gov.va.med.esr.voa.webservice;

import javax.xml.ws.WebFault;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.1.7-b01-
 * Generated source version: 2.1
 * 
 */
@WebFault(name = "VoaFaultException", targetNamespace = "http://DNS   /schema/esr/voa/v1")
public class VoaFault
    extends Exception
{

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

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

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

    /**
     * 
     * @return
     *     returns fault bean: gov.va.med.esr.voa.webservice.VoaFaultException
     */
    public VoaFaultException getFaultInfo() {
        return faultInfo;
    }

}
