
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 = "unauthorizedAccess", targetNamespace = "http://jbpm.org/examples/atm")
public class UnauthorizedAccess_Exception
    extends Exception
{

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

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

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

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

}
