
package com.vmware.vim25;

import javax.xml.ws.WebFault;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2.8
 * Generated source version: 2.2
 * 
 */
@WebFault(name = "ResourceInUseFault", targetNamespace = "urn:vim25")
public class ResourceInUseFaultMsg
    extends Exception
{

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

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

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

    /**
     * 
     * @return
     *     returns fault bean: com.vmware.vim25.ResourceInUse
     */
    public ResourceInUse getFaultInfo() {
        return faultInfo;
    }

}
