Package org.ogce.schemas.gfac.inca.faults

Examples of org.ogce.schemas.gfac.inca.faults.DataTransfer


import org.ogce.schemas.gfac.inca.faults.DataTransfer;

public class FileTransferFault extends GfacException{
    public FileTransferFault(Throwable cause,FileTransferServiceType api,String origHost, URI source,URI dest, String options) {
        super(cause, FaultCode.ErrorAtDependentService);
        DataTransfer dataTransfer = DataTransfer.Factory.newInstance();
        dataTransfer.setOrigHost(origHost);
        dataTransfer.setSource(source.toString());
        dataTransfer.setDest(dest.toString());
        dataTransfer.setOptions(options);
        errorActionDocument = createFaultData(dataTransfer, api.toString(), cause);
    }
View Full Code Here

TOP

Related Classes of org.ogce.schemas.gfac.inca.faults.DataTransfer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.