incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandru Popescu <the.mindstorm.mailingl...@gmail.com>
Subject ObjectConveterImpl to much exception imbrication
Date Mon, 02 Jan 2006 12:12:58 GMT
Hi!

While being at ObjectConverterImpl it looks to me that there is to much exception imbrication.
There 
are places where a PersistenceException may got wrapped in another PersistenceException. I
would 
like to clean this up, and wrap only the unrelated exceptions (the RepositoryExceptions and
the 
reflection exceptions). Probably an even better approach would be to wrap 
javax.jcr.RepositoryExceptions in PersistenceExceptions and the reflection related exceptions
in 
JcrMappingExceptions.

What is your opinion?

./alex
--
.w( the_mindstorm )p.

Mime
View raw message