[jira] [Commented] (TREQ-21) Within an OSGi environment, URLApplicationResource must throw a FileNotFoundException instead of IOException when a resource is not found
[ https://issues.apache.org/jira/browse/TREQ-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16139752#comment-16139752 ] Roland Hauser commented on TREQ-21: --- The contributed code is committed to the upstream repository since a while. When do you plan to release it? > Within an OSGi environment, URLApplicationResource must throw a > FileNotFoundException instead of IOException when a resource is not found > - > > Key: TREQ-21 > URL: https://issues.apache.org/jira/browse/TREQ-21 > Project: Tiles Request > Issue Type: Bug >Reporter: Roland Hauser >Assignee: mck > > Otherwise, BaseLocaleUrlDefinitionDAO does not load resources correctly, see > TILES-589. > In general, if the URL#openConnection method of a local protocol is called, > an IOException should be transformed into a FileNotFoundException as it > implies that the resource does not exist. This should be avoided for remote > protocols because an IOException can mean something different, for instance > that the network connection could not be established. > By default any protocol is considered to be local, except of > - ftp > - http > - https > - mailto > - netdoc > - Any additional protocol specified via system parameter > -Dtiles.remoteProtocols -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TREQ-21) Within an OSGi environment, URLApplicationResource must throw a FileNotFoundException instead of IOException when a resource is not found
[ https://issues.apache.org/jira/browse/TREQ-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16044271#comment-16044271 ] Roland Hauser commented on TREQ-21: --- Opened new pull-request which replaces the first one: https://github.com/apache/tiles-request/pull/2 > Within an OSGi environment, URLApplicationResource must throw a > FileNotFoundException instead of IOException when a resource is not found > - > > Key: TREQ-21 > URL: https://issues.apache.org/jira/browse/TREQ-21 > Project: Tiles Request > Issue Type: Bug >Reporter: Roland Hauser > > Otherwise, BaseLocaleUrlDefinitionDAO does not load resources correctly, see > TILES-589 -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (TREQ-21) Within an OSGi environment, URLApplicationResource must throw a FileNotFoundException instead of IOException when a resource is not found
[ https://issues.apache.org/jira/browse/TREQ-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16040574#comment-16040574 ] Roland Hauser commented on TREQ-21: --- Opened pull-request on Github: https://github.com/apache/tiles-request/pull/1 > Within an OSGi environment, URLApplicationResource must throw a > FileNotFoundException instead of IOException when a resource is not found > - > > Key: TREQ-21 > URL: https://issues.apache.org/jira/browse/TREQ-21 > Project: Tiles Request > Issue Type: Bug >Reporter: Roland Hauser > > Otherwise, BaseLocaleUrlDefinitionDAO does not load resources correctly, see > TILES-589 -- This message was sent by Atlassian JIRA (v6.3.15#6346)