]
Brian Stansberry reassigned JBCLUSTER-237:
------------------------------------------
Assignee: (was: Brian Stansberry)
Improve ClusterChooserInterceptor exception messages
----------------------------------------------------
Key: JBCLUSTER-237
URL:
https://issues.jboss.org/browse/JBCLUSTER-237
Project: JBoss Clustering
Issue Type: Task
Security Level: Public(Everyone can see)
Components: HA-Client
Reporter: Brian Stansberry
Priority: Minor
Fix For: HA-Client 2.0.0.BETA1
Stuff like the following needs improvement:
target = (InvokerLocator) lb.chooseTarget(family.get());
if (target == null)
{
if (lastException != null)
{
throw new RuntimeException("cluster invocation failed, last exception
was: ", lastException);
}
else
{
throw new RuntimeException("cluster invocation failed");
}
}
failoverCounter++;
}
// if we get here this means list was exhausted
throw new RuntimeException("Unreachable?: Service unavailable.");
--
This message is automatically generated by JIRA.
For more information on JIRA, see: