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


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