[libvirt] libvirt-java: change org.libvirt.Error implementing Serializable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi java-api-team (-:

could you please let org.libvirt.Error implements the serializable interface ?
Exceptions (and the content like org.libvirt.Error) should be serializable.

I got an exception on my host system connected via RMI to the client-system
running libvirt-java (libvirt-java, cvs-snapshot 2008-08-18) like this:

------------------------------------------------

...
cause:java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
        java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.libvirt.Error

package org.libvirt;

------------------------------------------------

public class Error  {
		VIR_FROM_NONE,
	    /**
	     * Error at Xen hypervisor layer
	     */
	    VIR_FROM_XEN,

------------------------------------------------

thank you very much

regards
Danny

-------------------------------------------------------------------
DT Netsolution GmbH   -   Taläckerstr. 30    -    D-70437 Stuttgart
Geschäftsführer: Daniel Schwager, Stefan Hörz - HRB Stuttgart 19870
Tel: +49-711-849910-32, Fax: -932 - Mailto:daniel.schwager@xxxxxxxx


--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]