Ronald Bourret wrote:
> 
> Either way (a hierarchy of exceptions or a single exception with error
> codes) is OK by me.
> 
> Note that there is a definite limit on how detailed exceptions can be in
> this kind of API. If you've ever used ODBC, you've undoubtedly noticed
> that drivers vary wildly in how accurate the returned SQLSTATEs are --
> many driver vendors simply refused to go into detail, either because
> they couldn't get the information from the database or because it was
> simply too complex.

Unfortunately, that is very true. I'm going to go with what I posted for
now and we'll see how it evolves.

> 
> With respect to the codes below, what is the difference between "NoSuch"
> and "Invalid"?

NoSuch means the object doesn't exist and Invalid means the object
exists but something is wrong with it i.e. handing an XPathQueryService
instance from a tamino driver to a Collection from a dbXML driver or
something along those lines. 

-- 
Kimbro Staken
Chief Technology Officer
dbXML Group L.L.C
http://www.dbxmlgroup.com

----------------------------------------------------------------------
Post a message:         mailto:[EMAIL PROTECTED]
Unsubscribe:            mailto:[EMAIL PROTECTED]
Contact adminstrator:   mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------

Reply via email to