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