[ 
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.

Reply via email to