[JIRA] Created: (MAGNOLIA-2923) Introducing ExceptionUtil

View: New views
5 Messages — Rating Filter:   Alert me  

[JIRA] Created: (MAGNOLIA-2923) Introducing ExceptionUtil

by JIRA (on behalf of Jan Haderka) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Introducing ExceptionUtil
-------------------------

                 Key: MAGNOLIA-2923
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2923
             Project: Magnolia
          Issue Type: New Feature
          Components: core
            Reporter: Grégory Joseph
            Assignee: Grégory Joseph
             Fix For: 4.2


One can do nice things with generics when handling exceptions. For instance, a method to unwrap exceptions of a certain type out of a {{RuntimeException}} could be handy with exception-less interface methods such as {{MgnlContext.SystemContextOperation()}} or {{ContentUtil.visit()}}



--
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: <dev-list-unsubscribe@...>
----------------------------------------------------------------


[JIRA] Commented: (MAGNOLIA-2923) Introducing ExceptionUtil

by JIRA (on behalf of Jan Haderka) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



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

Hudson CI server commented on MAGNOLIA-2923:
--------------------------------------------

Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/yellow.gif! [magnolia_main-trunk #1058|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/1058/]
      introduced ExceptionUtil.unwrapIf()


> Introducing ExceptionUtil
> -------------------------
>
>                 Key: MAGNOLIA-2923
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2923
>             Project: Magnolia
>          Issue Type: New Feature
>          Components: core
>            Reporter: Grégory Joseph
>            Assignee: Grégory Joseph
>             Fix For: 4.2
>
>
> One can do nice things with generics when handling exceptions. For instance, a method to unwrap exceptions of a certain type out of a {{RuntimeException}} could be handy with exception-less interface methods such as {{MgnlContext.SystemContextOperation()}} or {{ContentUtil.visit()}}

--
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: <dev-list-unsubscribe@...>
----------------------------------------------------------------


[JIRA] Work started: (MAGNOLIA-2923) Introducing ExceptionUtil

by JIRA (on behalf of Jan Haderka) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



     [ http://jira.magnolia-cms.com/browse/MAGNOLIA-2923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MAGNOLIA-2923 started by Grégory Joseph.

> Introducing ExceptionUtil
> -------------------------
>
>                 Key: MAGNOLIA-2923
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2923
>             Project: Magnolia
>          Issue Type: New Feature
>          Components: core
>            Reporter: Grégory Joseph
>            Assignee: Grégory Joseph
>             Fix For: 4.2
>
>
> One can do nice things with generics when handling exceptions. For instance, a method to unwrap exceptions of a certain type out of a {{RuntimeException}} could be handy with exception-less interface methods such as {{MgnlContext.SystemContextOperation()}} or {{ContentUtil.visit()}}

--
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: <dev-list-unsubscribe@...>
----------------------------------------------------------------


[JIRA] Commented: (MAGNOLIA-2923) Introducing ExceptionUtil

by JIRA (on behalf of Jan Haderka) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



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

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

Leaving open for discussion/ideas:
* i'm not happy with the package (should we move all util classes from {{info.magnolia.cms.util}} to {{info.magnolia.util}}?)
* see comment MAGNOLIA-2921

> Introducing ExceptionUtil
> -------------------------
>
>                 Key: MAGNOLIA-2923
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2923
>             Project: Magnolia
>          Issue Type: New Feature
>          Components: core
>            Reporter: Grégory Joseph
>            Assignee: Grégory Joseph
>             Fix For: 4.2
>
>
> One can do nice things with generics when handling exceptions. For instance, a method to unwrap exceptions of a certain type out of a {{RuntimeException}} could be handy with exception-less interface methods such as {{MgnlContext.SystemContextOperation()}} or {{ContentUtil.visit()}}

--
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: <dev-list-unsubscribe@...>
----------------------------------------------------------------


[JIRA] Resolved: (MAGNOLIA-2923) Introducing ExceptionUtil

by JIRA (on behalf of Jan Haderka) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



     [ http://jira.magnolia-cms.com/browse/MAGNOLIA-2923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grégory Joseph resolved MAGNOLIA-2923.
--------------------------------------

    Resolution: Fixed

Keeping in {{info.magnolia.cms.util}} for now; see MAGNOLIA-2926 for repackaging.

> Introducing ExceptionUtil
> -------------------------
>
>                 Key: MAGNOLIA-2923
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2923
>             Project: Magnolia
>          Issue Type: New Feature
>          Components: core
>            Reporter: Grégory Joseph
>            Assignee: Grégory Joseph
>             Fix For: 4.2
>
>
> One can do nice things with generics when handling exceptions. For instance, a method to unwrap exceptions of a certain type out of a {{RuntimeException}} could be handy with exception-less interface methods such as {{MgnlContext.SystemContextOperation()}} or {{ContentUtil.visit()}}

--
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: <dev-list-unsubscribe@...>
----------------------------------------------------------------