package org.jboss.soa.bpel.samples.quickstart.purchase;

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 = "problemInfo", targetNamespace = "http://manufacturing.org/xsd/purchase")
public class OrderFaultType extends Exception {

	private static final long serialVersionUID = 1L;

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

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

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

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

}
