Errors and the introspection format

Havoc Pennington hp at redhat.com
Fri Feb 17 08:25:03 PST 2006


On Fri, 2006-02-17 at 10:32 +0000, Matthew Johnson wrote:
> This came up while I was writing the error support in the Java bindings,
> if you call a method that returns an error it throws an exception of the
> type given as the error name. To do this I need to create a class of
> that type, which I can't do automatically if it isn't in the
> introspection data. (you can also throw on if you want to return an
> error from a method implemented on the server).
> 
> Thoughts?

Some old comments from me on this:
http://lists.freedesktop.org/archives/dbus/2005-March/002448.html
http://lists.freedesktop.org/archives/dbus/2005-March/002452.html
http://lists.freedesktop.org/archives/dbus/2005-March/002460.html

Feel free to read David's counter-arguments too ;-)

Havoc




More information about the dbus mailing list