org.libvirt
Class LibvirtException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.libvirt.LibvirtException
All Implemented Interfaces:
java.io.Serializable

public class LibvirtException
extends java.lang.Exception

This exception is thrown by all classes and methods of libvirt when the underlying libvirt library indicates an error

Author:
stoty
See Also:
Error, Serialized Form

Method Summary
 Error getError()
          Returns the underlying Error objects that contains details about the cause of the exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getError

public Error getError()
Returns the underlying Error objects that contains details about the cause of the exception

Returns:
the underlying Error object