The NotFoundException is currently located in util which is not such a
good place as it is part of the dao as well as service interfaces.

So I propose to move this exception either to
1. common.services
    In this case the NotFoundException could also be used in the service
interfaces. So we would not have to handle the http specific not found
exception
2. core.persistence.dao
    In this case the NotFoundException would be private to the core and
we would have to use e.g. the jax rs NotFoundException in the service
interfaces

I also propose to change the exception to be unchecked to not force each
caller to catch it.

Best regards
Christian

-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to