|
From: =?iso-8859-1?Q?<jp....@ti...> - 2003-08-23 04:12:17
|
Juergen=0D=0A=0D=0AEffectively, it works!=0D=0A=0D=0AIn summary:=0D=0A- I= f no entry is found in the properties file, the entire exception is displ= ayed. Very useful during development.=0D=0A- If an entry exists for the e= xception in the properties file, the more precise will be picked up. Very= powerfull!=0D=0A=0D=0AVery very good, all this :-)).=0D=0A=0D=0AJean-Pie= rre=0D=0A=0D=0A=0D=0A---------- Initial Header -----------=0D=0A=0D=0AFro= m : j=FCrgen h=F6ller [werk3AT] <jue...@we...>=0D=0AT= o : <jp....@ti...>,<spr...@li...= ceforge.net>=0D=0ACc : =0D=0ADate : Fri, 22 Aug 2003 15:16:= 16 +0200=0D=0ASubject : RE: [Springframework-developer] nested tags=0D=0A= =0D=0AJean-Pierre,=0D=0A=0D=0AIf you define an entry in your message prop= erties like "typeMismatch=3DPlease enter a valid date" or "typeMismatch.b= irthday=3D..." or "typeMismatch.person.birthday=3D...", status.getMessage= () should return the appropriate message.=0D=0A=0D=0AJuergen=0D=0A=0D=0A=0D= =0A-----Original Message-----=0D=0AFrom: jp....@ti... [mailto:jp.= pa...@ti...]=0D=0ASent: Friday, August 22, 2003 12:41 PM=0D=0ATo: s= pri...@li...=0D=0ASubject: [Springframe= work-developer] nested tags=0D=0A=0D=0A=0D=0AJuergen,=0D=0A=0D=0AI just t= ested your new version of handling Mismatch exceptions from the binder fo= r nested properties.=0D=0A=0D=0A- The "wrong" value comes back now.=0D=0A= - The status.getMessage, previously void, send now the getMessage() conte= nt of the exception. The expected behaviour would be to have the classnam= e as it will be difficult to have an entry in the properties file like <F= ailed to convert property value of type [java.lang.String] to required ty= pe [java.util.Date] for property named [person.birthday]; nested exceptio= n is: java.lang.IllegalArgumentException: Could not parse date: Unparseab= le date: "fff"> ;-).=0D=0A=0D=0ARegards,=0D=0AJean-Pierre=0D=0A=0D=0A=0D=0A= ********** L'ADSL A 20 EUR/MOIS**********=0D=0ATiscali propose l'ADSL le = moins cher du march=E9 : 20 EUR/mois et le modem ADSL offert ! =0D=0APour= profiter de cette offre exceptionnelle, cliquez ici : http://register.ti= scali.fr/adsl/=0D=0AOffre soumise =E0 conditions.=0D=0A=0D=0A=0D=0A=0D=0A= =0D=0A-------------------------------------------------------=0D=0AThis S= F.net email is sponsored by: VM Ware=0D=0AWith VMware you can run multipl= e operating systems on a single machine.=0D=0AWITHOUT REBOOTING! Mix Linu= x / Windows / Novell virtual machines=0D=0Aat the same time. Free trial c= lick here:http://www.vmware.com/wl/offer/358/0=0D=0A_____________________= __________________________=0D=0ASpringframework-developer mailing list=0D= =0AS...@li...=0D=0Ahttps://lists.sou= rceforge.net/lists/listinfo/springframework-developer=0D=0A=0A=0A********= ** L'ADSL A 20 EUR/MOIS**********=0ATiscali propose l'ADSL le moins cher = du march=E9 : 20 EUR/mois et le modem ADSL offert ! =0APour profiter de c= ette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/= =0AOffre soumise =E0 conditions.=0A |