[ 
http://mifosforge.jira.com/browse/MIFOS-4416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jbrewster updated MIFOS-4416:
-----------------------------

    Status: Ready for Showcase  (was: Ready for Testing / Resolved)

change not visible to business user.  

> ApplicationException swallows key if used as message in Throwable variant 
> constructor
> -------------------------------------------------------------------------------------
>
>                 Key: MIFOS-4416
>                 URL: http://mifosforge.jira.com/browse/MIFOS-4416
>             Project: mifos
>          Issue Type: Bug
>            Reporter: Michael Vorburger
>            Assignee: Udai Gupta
>            Priority: Major
>              Labels: patch
>             Fix For: Elsie F
>
>         Attachments: 
> 0001-MIFOS-4416-ApplicationException-swallows-key-if-used.patch
>
>
> The ApplicationException, if the key isn't actually a message key but just a 
> message, passes it to the parent Exception via super.  But the 
> ApplicationException(String key, Throwable cause, Object[] values) doesn't 
> forward the key (like ApplicationException(String key, Object[] values) via 
> ApplicationException(String key, Object[] values, String internalMessage) 
> does.
> So ApplicationException(String key, Throwable cause, Object[] values) should 
> use super(key, cause) instead of super(cause).
> I've discovered this when wanting to add a Charts of Accounts XML loading 
> failed detailed message in FinancialInitializer.java, and am including that 
> minor enhancement in the patch.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to