neeraj_cmu
Aug 29th, 2005, 02:40 AM
Spring comes with custom editor for BigDecimal. In case of wrong user input the default message the comes on screen is
Failed to convert property value of type [java.lang.String] to required type [java.math.BigDecimal] for property buyUpDownAmount; nested exception is java.lang.NumberFormatException: For input string: "sss"
I was wondering if there is an easy way to customise this message.
Thanks.
Failed to convert property value of type [java.lang.String] to required type [java.math.BigDecimal] for property buyUpDownAmount; nested exception is java.lang.NumberFormatException: For input string: "sss"
I was wondering if there is an easy way to customise this message.
Thanks.