incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GRFT-58) Can be JcrMappingException type of RUNTIME exception?
Date Fri, 14 Oct 2005 21:21:45 GMT
    [ http://issues.apache.org/jira/browse/GRFT-58?page=comments#action_12332110 ] 

Christophe Lombart commented on GRFT-58:
----------------------------------------

Thanks for those nice articles. 
I'm ok  to use runtime exceptions for most of the part of the code (eg. pck like mapper, collection
converter, ... )
But what about the persistence manager methods ? eg. when you are not allowed to insert the
object or why not delete the object ? I think checked exceptions are more appropriate like
InsertObjectException, DeleteObjectExpcetion, ...

What do you think about that ? 

> Can be JcrMappingException type of RUNTIME exception?
> -----------------------------------------------------
>
>          Key: GRFT-58
>          URL: http://issues.apache.org/jira/browse/GRFT-58
>      Project: Graffito
>         Type: Improvement
>   Components: JCR-Mapping
>     Versions: 1.0-a1-dev
>     Reporter: Martin Koci
>     Assignee: Christophe Lombart

>
> http://www.mindview.net/Etc/Discussions/CheckedExceptions
> http://www-128.ibm.com/developerworks/java/library/j-jtp05254.html
> HibernateException is runtime too (from version 3.0)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message