Replace all relevant "null default" calls to ListenerUtil.obtainAtt with calls
to ConfigTree.getRequiredAttribute
-----------------------------------------------------------------------------------------------------------------
Key: JBESB-835
URL:
http://jira.jboss.com/jira/browse/JBESB-835
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Rosetta
Affects Versions: 4.2 Milestone Release 3
Reporter: Tom Fennelly
Assigned To: Mark Little
Fix For: 4.2.1
The intention of "ListenerUtil.obtainAtt(ConfigTree config, String name, String
default);" where the default was null is somewhat suspect - a null default means that
the attribute was a required attribute and so an exception should be thrown if it
wasn't available on the config.
Replace these calls with calls to ConfigTree.getRequiredAttribute().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira