Hi,

On 1/31/06, Felix Meschberger <[EMAIL PROTECTED]> wrote:
> Though the BaseException (or JackrabbitException ??) has no life in
> itself, it might be usefull to have a catch-all jackrabbit-specific
> exception, especially since the exception is checked.

Is there a real use case for this?

Within Jackrabbit the BaseException class is used like this only to
catch the different exceptions in o.a.j.name. A more specific base
class like o.a.j.name.NameException would be much better in those
cases.

Outside Jackrabbit this would only be useful to external components
that invoke the Jackrabbit internals and to implementations that
extend or otherwise use the Jackrabbit core. Even these cases would
probably be better served by more specific exception base classes.

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - [EMAIL PROTECTED]
Software craftmanship, JCR consulting, and Java development

Reply via email to