[Ovirt-devel] [Patch] better exceptions for ruby-libvirt bindings

Mohammed Morsi mmorsi at redhat.com
Wed Mar 26 23:58:24 UTC 2008


Defined custom libvirt ruby exceptions and altered the code so as to 
throw them instead of the generic 'rb_eSystemCallError'. If additional 
more-granular exceptions are needed, they can be easily added. (note 
this diff is against ruby-libvirt-0.0.2 due to issues with the upstream 
ruby-libvirt and libvirt-devel)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: _libvirt.c.patch
Type: text/x-patch
Size: 22489 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080326/613c7e5d/attachment.bin>


More information about the ovirt-devel mailing list