[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24679#action_24679
 ] 

Grégory Joseph commented on MAGNOLIA-2921:
------------------------------------------

Leaving open for discussion:
* naming
* exception handling: I introduced ExceptionUtil.unwrapIf() to circumvent the 
fact the {{exec()}} doesn't throw any exception - throwing Exception would just 
be annoying for client code. On the other hand, since it's a custom interface 
anyway, and we're in the context of Magnolia operations, it seems having the 
{{exec()}} would be a reasonable behavior.

> Now that we use generics, MgnlContext.doInSystemContext could return values
> ---------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-2921
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2921
>             Project: Magnolia
>          Issue Type: Improvement
>          Components: core
>            Reporter: Grégory Joseph
>            Assignee: Grégory Joseph
>             Fix For: 4.2
>
>
> However, for compatibility's sake, we'll need to introduce a new method, and 
> a new interface, and we'll have to play the game name for this new Operation 
> interface.

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



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to