You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Roland Huss (JIRA)" <ji...@apache.org> on 2010/02/15 08:23:28 UTC

[jira] Created: (ARIES-160) Improved exception handling

Improved exception handling
---------------------------

                 Key: ARIES-160
                 URL: https://issues.apache.org/jira/browse/ARIES-160
             Project: Aries
          Issue Type: Improvement
          Components: JMX
    Affects Versions: Incubation
            Reporter: Roland Huss
            Priority: Minor
         Attachments: patch.txt

Within the Framework and UserAdmin MBeans IOException are thrown in an error case without wrapping the original exception.
This makes it harder to detected the original cause of an error e.g. an invalid URL when installing a bundle via the FrameworkMBean

Please find attachted a simple patch for wrapping the cause exception when an error occurs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (ARIES-160) Improved exception handling

Posted by "Alasdair Nottingham (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alasdair Nottingham resolved ARIES-160.
---------------------------------------

    Resolution: Fixed

Roland, thanks for the patch. Much appreciated.

> Improved exception handling
> ---------------------------
>
>                 Key: ARIES-160
>                 URL: https://issues.apache.org/jira/browse/ARIES-160
>             Project: Aries
>          Issue Type: Improvement
>          Components: JMX
>    Affects Versions: Incubation
>            Reporter: Roland Huss
>            Assignee: Alasdair Nottingham
>            Priority: Minor
>         Attachments: patch.txt
>
>
> Within the Framework and UserAdmin MBeans IOException are thrown in an error case without wrapping the original exception.
> This makes it harder to detected the original cause of an error e.g. an invalid URL when installing a bundle via the FrameworkMBean
> Please find attachted a simple patch for wrapping the cause exception when an error occurs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (ARIES-160) Improved exception handling

Posted by "Alasdair Nottingham (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on ARIES-160 started by Alasdair Nottingham.

> Improved exception handling
> ---------------------------
>
>                 Key: ARIES-160
>                 URL: https://issues.apache.org/jira/browse/ARIES-160
>             Project: Aries
>          Issue Type: Improvement
>          Components: JMX
>    Affects Versions: Incubation
>            Reporter: Roland Huss
>            Assignee: Alasdair Nottingham
>            Priority: Minor
>         Attachments: patch.txt
>
>
> Within the Framework and UserAdmin MBeans IOException are thrown in an error case without wrapping the original exception.
> This makes it harder to detected the original cause of an error e.g. an invalid URL when installing a bundle via the FrameworkMBean
> Please find attachted a simple patch for wrapping the cause exception when an error occurs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (ARIES-160) Improved exception handling

Posted by "Alasdair Nottingham (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alasdair Nottingham reassigned ARIES-160:
-----------------------------------------

    Assignee: Alasdair Nottingham

> Improved exception handling
> ---------------------------
>
>                 Key: ARIES-160
>                 URL: https://issues.apache.org/jira/browse/ARIES-160
>             Project: Aries
>          Issue Type: Improvement
>          Components: JMX
>    Affects Versions: Incubation
>            Reporter: Roland Huss
>            Assignee: Alasdair Nottingham
>            Priority: Minor
>         Attachments: patch.txt
>
>
> Within the Framework and UserAdmin MBeans IOException are thrown in an error case without wrapping the original exception.
> This makes it harder to detected the original cause of an error e.g. an invalid URL when installing a bundle via the FrameworkMBean
> Please find attachted a simple patch for wrapping the cause exception when an error occurs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ARIES-160) Improved exception handling

Posted by "Roland Huss (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roland Huss updated ARIES-160:
------------------------------

    Attachment: patch.txt

Patch for adding wrapped exceptions

> Improved exception handling
> ---------------------------
>
>                 Key: ARIES-160
>                 URL: https://issues.apache.org/jira/browse/ARIES-160
>             Project: Aries
>          Issue Type: Improvement
>          Components: JMX
>    Affects Versions: Incubation
>            Reporter: Roland Huss
>            Priority: Minor
>         Attachments: patch.txt
>
>
> Within the Framework and UserAdmin MBeans IOException are thrown in an error case without wrapping the original exception.
> This makes it harder to detected the original cause of an error e.g. an invalid URL when installing a bundle via the FrameworkMBean
> Please find attachted a simple patch for wrapping the cause exception when an error occurs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ARIES-160) Improved exception handling

Posted by "Alasdair Nottingham (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ARIES-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834233#action_12834233 ] 

Alasdair Nottingham commented on ARIES-160:
-------------------------------------------

The patch looks good. I'll have it integrated soon.

I've made a few minor tweeks as I integrated. I added a space before the exception parameter to the exception constructors, just a minor style thing I guess, but I like the space after the commas when calling methods. I also updated the message on the constructor where it would result in duplicate information.

> Improved exception handling
> ---------------------------
>
>                 Key: ARIES-160
>                 URL: https://issues.apache.org/jira/browse/ARIES-160
>             Project: Aries
>          Issue Type: Improvement
>          Components: JMX
>    Affects Versions: Incubation
>            Reporter: Roland Huss
>            Assignee: Alasdair Nottingham
>            Priority: Minor
>         Attachments: patch.txt
>
>
> Within the Framework and UserAdmin MBeans IOException are thrown in an error case without wrapping the original exception.
> This makes it harder to detected the original cause of an error e.g. an invalid URL when installing a bundle via the FrameworkMBean
> Please find attachted a simple patch for wrapping the cause exception when an error occurs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ARIES-160) Improved exception handling

Posted by "Jeremy Hughes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Hughes updated ARIES-160:
--------------------------------

    Fix Version/s: 0.1

> Improved exception handling
> ---------------------------
>
>                 Key: ARIES-160
>                 URL: https://issues.apache.org/jira/browse/ARIES-160
>             Project: Aries
>          Issue Type: Improvement
>          Components: JMX
>    Affects Versions: Incubation
>            Reporter: Roland Huss
>            Assignee: Alasdair Nottingham
>            Priority: Minor
>             Fix For: 0.1
>
>         Attachments: patch.txt
>
>
> Within the Framework and UserAdmin MBeans IOException are thrown in an error case without wrapping the original exception.
> This makes it harder to detected the original cause of an error e.g. an invalid URL when installing a bundle via the FrameworkMBean
> Please find attachted a simple patch for wrapping the cause exception when an error occurs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.