Package org.libvirt

Class ErrorCallback

java.lang.Object
org.libvirt.ErrorCallback
All Implemented Interfaces:
com.sun.jna.Callback, Libvirt.VirErrorCallback

public class ErrorCallback extends Object implements Libvirt.VirErrorCallback
Callback class to allow users of the API to handle the Error messages in a more robust fashion.
Author:
bkearney
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.sun.jna.Callback

    com.sun.jna.Callback.UncaughtExceptionHandler
  • Field Summary

    Fields inherited from interface com.sun.jna.Callback

    FORBIDDEN_NAMES, METHOD_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    errorCallback(com.sun.jna.Pointer userData, virError error)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ErrorCallback

      public ErrorCallback()
  • Method Details