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

Re: [Xen-API] Typing in XML-RPC



On Mon, Jun 26, 2006 at 05:21:25AM -0400, Daniel Veillard wrote:

> On Mon, Jun 26, 2006 at 09:34:08AM +0100, Ewan Mellor wrote:
> > > Another thing to consider is having a type of exception.  I like 
> > > exception based APIs (i'll say that for another email) however the 
> > > format of the standard XML-RPC exception leaves a lot to be desired.
> > 
> > I agree that we should be using exceptions, and I also agree that the 
> > XML-RPC
> > exception specification is not great.  The document proposes using a string
> > array for exception code and parameters.  A binding for a language with
> > exceptions could then marshall those into first class exceptions, and that's
> > certainly the way I'd want to do it.
> 
>   Do we have a list of those error codes, or is this something which needs
> to be defined, I don't think I saw them.

No, we'll have to define them.

Ewan.

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.