Errors and the introspection format

Havoc Pennington hp at
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:

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


More information about the dbus mailing list