Hi,

On Jan 8, 2008 9:14 PM, Dr J A Gow <[EMAIL PROTECTED]> wrote:
>
> On Tue, 2008-01-08 at 20:39 +0100, Guido Diepen wrote:
>
> > Yes I am :)
> > Currently first trying to see if I can get some more info regarding setup.py
> > stuff etc for making the packaging easier later on.
> >
> > But I will add another tab-page with partnership stuff in new version.

Sweet! \o/

> If you are doing this, it may pay for us to collaborate. I am planning
> to modify the partnership control API in sync-engine slightly so that we
> no longer raise exceptions that are unhandled within the API - and this
> means that we will need to return a result code. I am planning this as I
> am mindful of the fact that I/we/anyone may not always want to talk to
> sync-engine from Python - if a C/C++ app tries to send d-bus messages to
> a sync-engine API and it throws - well this is not good news for the C
> programmer!

If the Python code throws an exception during an inbound D-Bus method
call it will be marshalled into a D-Bus exception, which, depending on
the client's D-Bus bindings, ends up as an error or exception there.
For the C/GLib D-Bus bindings the function returns FALSE and the last
parameter, a GError **, receives a pointer to a newly allocated GError
(no C++ exception, just an innocent return value along with a
descriptive error name and description). And if it's a different
language/bindings, say C#, you get an appropriate Exception thrown.

Needless to say the stuff you guys are doing is full of awesome! :-)
Any of you going to FOSDEM by the way?

Cheers,
Ole André

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to