[ http://issues.apache.org/jira/browse/HIVEMIND-110?page=all ]
     
Knut Wannheden closed HIVEMIND-110:
-----------------------------------

     Resolution: Fixed
    Fix Version: 1.1

Well spotted, Stefan! Test case and fix committed to CVS.

> Swallowed root cause
> --------------------
>
>          Key: HIVEMIND-110
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-110
>      Project: HiveMind
>         Type: Improvement
>   Components: framework
>     Versions: 1.1
>  Environment: HM 1.1 alpha 3
>     Reporter: Stefan Liebig
>     Priority: Minor
>      Fix For: 1.1

>
> In the XmlResourceProcessor:
> private InputSource getInputSource(Resource resource)
> {
>       try
>       {
>               URL url = resource.getResourceURL();
>               return new InputSource(url.openStream());
>       }
>       catch (Exception e)
>       {
>               throw new 
> ApplicationRuntimeException(ParseMessages.missingResource(resource),
>                               resource, null, null);
>       }
> }
> the cought exception is not passed to the thrown ApplicationRuntimeException 
> as the root cause.
> The root cause what help in bug tracking.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to