Re: [Lima-devel] [Lima-commits] r3228 - in trunk/lima-business/src/main: java/org/chorem/lima/business/accountingrules java/org/chorem/lima/business/ejb resources/i18n
Le 18/07/2011 11:49, vsalaun@users.chorem.org a écrit :
- throw new LimaBusinessException(_("lima-business.defaultaccountingrules.invalidaccountnumber") - + " : " + account.getAccountNumber()); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.invalidaccountnumber", + account.getAccountNumber())); } Bien ! - throw new LimaException(_("lima-business.common.queryerror") + " " + cause); + throw new LimaException(_("lima-business.common.queryerror", cause)); }
Pas bien !!! L'execption cause doit etre le second argument de LimaException et non de la fonction _ -- Éric Chatellier <chatellier@codelutin.com> Tel: 02.40.50.29.28 http://www.codelutin.com
participants (1)
-
Eric Chatellier