incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Leau <>
Subject [jcr-mapping] exceptions
Date Mon, 03 Oct 2005 08:59:25 GMT

another remark on the exceptions from jcr-mapping project. Why isn't
there a base exception and why java.lang.Exception is extended instead
of the javax.jcr.RepositoryException?
As the jcr-mapping is based on a JCR implementation it should extend
the JCR exception hierarchy. Right now the code executing with
jcr-mapping has to do a:

  .. some code
} catch (RepositoryException re)
   // from work on the repository
} catch (JcrMappingException jme)
  // from mapping code

Best regards,

View raw message