Package org.libvirt

Class 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Error getError()
      Returns the underlying Error objects that contains details about the cause of the exception
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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