[jboss-jira] [JBoss JIRA] (WFLY-4149) NamingExceptions not properly handled in InitialContext

David Lloyd (JIRA) issues at jboss.org
Wed Dec 3 08:51:39 EST 2014


David Lloyd created WFLY-4149:
---------------------------------

             Summary: NamingExceptions not properly handled in InitialContext
                 Key: WFLY-4149
                 URL: https://issues.jboss.org/browse/WFLY-4149
             Project: WildFly
          Issue Type: Bug
          Components: Naming
            Reporter: David Lloyd
            Assignee: Eduardo Martins
             Fix For: 9.0.0.Beta1


The change in https://github.com/jbossas/jboss-eap/commit/db525bf1d90a40eb909c8f915fca787d55f4e7e5#diff-833175ffb151a3398216d6422dadeeeeR112 catches all Exception and rewraps them with NamingException.  This behavior is undesirable if the original exception was already a NamingException.  Catch and re-throw that exception type as-is before wrapping other exceptions.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list