Package hudson.plugins.libvirt.lib

Examples of hudson.plugins.libvirt.lib.VirtException


    public LibVirtConnectImpl(String hypervisorUri, boolean b) throws VirtException {
        try
        {
            this.connect = new Connect(hypervisorUri, b);
        } catch (LibvirtException e) {
            throw new VirtException(e);
        }
    }
View Full Code Here


    public long getVersion() throws VirtException {
        try {
            return connect.getVersion();
        } catch (LibvirtException e) {
            throw new VirtException(e);
        }
    }
View Full Code Here

    public int[] listDomains() throws VirtException {
        try {
            return connect.listDomains();
        } catch (LibvirtException e) {
            throw new VirtException(e);
        }
    }
View Full Code Here

    public String[] listDefinedDomains() throws VirtException {
        try {
            return connect.listDefinedDomains();
        } catch (LibvirtException e) {
            throw new VirtException(e);
        }
    }
View Full Code Here

    public IDomain domainLookupByName(String c) throws VirtException {
        try {
            return new LibVirtDomainImpl(connect.domainLookupByName(c));
        } catch (LibvirtException e) {
            throw new VirtException(e);
        }
    }
View Full Code Here

    public IDomain domainLookupByID(int c) throws VirtException {
        try {
            return new LibVirtDomainImpl(connect.domainLookupByID(c));
        } catch (LibvirtException e) {
            throw new VirtException(e);
        }
    }
View Full Code Here

    public void close() throws VirtException {
        try {
            connect.close();
        } catch (LibvirtException e) {
            throw new VirtException(e);
        }
    }
View Full Code Here

    public boolean isConnected() throws VirtException {
        try {
            return connect.isConnected();
        } catch (LibvirtException e) {
            throw new VirtException(e);
        }
    }
View Full Code Here

TOP

Related Classes of hudson.plugins.libvirt.lib.VirtException

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.