[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 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.


Daniel Veillard      | Red Hat http://redhat.com/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

xen-api mailing list



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