Andy Armstrong wrote:

Vadim Gritsenko wrote:

Think of non-java interfaces to the xindice (via XML-RPC), such as PHP or Perl, and think of xindice own XML-RPC driver. XML-RPC can not pass arbitrary exceptions, and can pass only fault code. This fault code (in current CVS) is a combination of XML:DB error code and Xindice fault code.


I understand the reason for the numeric fault codes - I just couldn't work out why they're allocated the values they have.


I guess numbering was inspired by HTTP protocol :-)


Is it legitimate to add fault codes to support the additional error conditions Lucene can cause?


Yes, if you can't use existing error codes.

Vadim



Reply via email to