[jboss-jira] [JBoss JIRA] Resolved: (JBNAME-2) Need to improve the exception msg on discovery failures
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Sun Nov 15 21:31:29 EST 2009
[ https://jira.jboss.org/jira/browse/JBNAME-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott M Stark resolved JBNAME-2.
--------------------------------
Fix Version/s: 5.0.4.GA
Resolution: Done
> Need to improve the exception msg on discovery failures
> -------------------------------------------------------
>
> Key: JBNAME-2
> URL: https://jira.jboss.org/jira/browse/JBNAME-2
> Project: JBoss Naming
> Issue Type: Feature Request
> Components: jnp-client
> Affects Versions: 5.0.0.CR1
> Reporter: Scott M Stark
> Fix For: 5.1.0.Beta1, 5.0.4.GA
>
>
> When a discovery failure occurs we are only reporting the original exception that triggered discovery. This codeblock does not try to incorporate the discovery exception seen if there already is a serverEx:
> try
> {
> naming = discoverServer(refEnv);
> }
> catch (Exception e)
> {
> discoveryFailure = e;
> if (serverEx == null)
> serverEx = e;
> }
> We should be building a better nested exception to show both problem.s
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list