org.glassfish.virtualization.libvirt
Class LibVirtError

java.lang.Object
  extended by org.glassfish.virtualization.libvirt.LibVirtError

public class LibVirtError
extends Object

LibVirt error Java Abstraction.

Author:
Jerome Dochez

Nested Class Summary
static class LibVirtError.ErrorDomain
           
static class LibVirtError.ErrorLevel
           
static class LibVirtError.ErrorNumber
           
 
Constructor Summary
LibVirtError(VirError vError)
           
 
Method Summary
 LibVirtError.ErrorLevel getLevel()
           
static void processError(LibVirtLibrary libvirt)
          Look for the latest error from libvirt not tied to a connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibVirtError

public LibVirtError(VirError vError)
Method Detail

getLevel

public LibVirtError.ErrorLevel getLevel()

processError

public static void processError(LibVirtLibrary libvirt)
                         throws VirtException
Look for the latest error from libvirt not tied to a connection

Parameters:
libvirt - the active connection
Throws:
VirtException


Copyright © 2012. All Rights Reserved.