Package org.libvirt
Class ErrorHandler
java.lang.Object
org.libvirt.ErrorHandler
Utility class which processes the last error from the libvirt library. It
turns errors into Libvirt Exceptions.
- Author:
- bkearney
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
processError
(Libvirt libvirt) Look for the latest error from libvirt not tied to a connection
-
Constructor Details
-
ErrorHandler
public ErrorHandler()
-
-
Method Details
-
processError
Look for the latest error from libvirt not tied to a connection- Parameters:
libvirt
- the active connection- Throws:
LibvirtException
-