|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.libvirt.ErrorHandler
public class ErrorHandler
Utility class which processes the last error from the libvirt library. It turns errors into Libvirt Exceptions.
| Constructor Summary | |
|---|---|
ErrorHandler()
|
|
| Method Summary | |
|---|---|
static void |
processError(Libvirt libvirt)
Look for the latest error from libvirt not tied to a connection |
static void |
processError(Libvirt libvirt,
ConnectionPointer conn)
Look for the latest error from libvirt tied to a connection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorHandler()
| Method Detail |
|---|
public static void processError(Libvirt libvirt)
throws LibvirtException
libvirt - the active connection
LibvirtException
public static void processError(Libvirt libvirt,
ConnectionPointer conn)
throws LibvirtException
libvirt - the active connection
LibvirtException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||