[jboss-jira] [JBoss JIRA] (WFCORE-572) Review usage of the two different NoSuchResourceException's

James Perkins (JIRA) issues at jboss.org
Tue Mar 3 14:02:49 EST 2015


    [ https://issues.jboss.org/browse/WFCORE-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045839#comment-13045839 ] 

James Perkins commented on WFCORE-572:
--------------------------------------

Should we clone this to WildFly too as there is probably some usages there as well?

> Review usage of the two different NoSuchResourceException's
> -----------------------------------------------------------
>
>                 Key: WFCORE-572
>                 URL: https://issues.jboss.org/browse/WFCORE-572
>             Project: WildFly Core
>          Issue Type: Task
>          Components: Domain Management
>            Reporter: James Perkins
>            Assignee: Brian Stansberry
>
> There are two versions of the {{NoSuchResourceException}}, [{{org.jboss.as.controller.NoSuchResourceException}}|https://github.com/wildfly/wildfly-core/blob/master/controller/src/main/java/org/jboss/as/controller/NoSuchResourceException.java] and [{{org.jboss.as.controller.registry.Resource.NoSuchResourceException}}|https://github.com/wildfly/wildfly-core/blob/master/controller/src/main/java/org/jboss/as/controller/registry/Resource.java#L299]. The usages should be reviewed as some code seems to catch one where the other is likely thrown.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list