Jeremias Maerki wrote:
> 
> Hi there
> 
> I've just noticed that XMLDBException (in the current Java implementation
> of the API) is currently a subclass of RuntimeException. Shouldn't it be
> a subclass of Exception instead?
> 

That depends on whether you think exceptions should be checked or not.
Since every method throws XMLDBException my feeling was that having to
deal with checked exceptions would be problematic since there is no
granularity in the level of exception thrown. This can certainly be
changed if it is the wrong approach.


> Jeremias M�rki
> 
> mailto:[EMAIL PROTECTED]
> 
> OUTLINE AG
> Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
> Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
> Internet http://www.outline.ch
> 
> ----------------------------------------------------------------------
> Post a message:         mailto:[EMAIL PROTECTED]
> Unsubscribe:            mailto:[EMAIL PROTECTED]
> Contact adminstrator:   mailto:[EMAIL PROTECTED]
> Read archived messages: http://archive.xmldb.org/
> ----------------------------------------------------------------------

-- 
Kimbro Staken
The dbXML Project
http://www.dbxml.org/

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