[jboss-user] [JBoss Seam] - Re: messageformat error blows up (JBSEAM-1859)

atao do-not-reply at jboss.com
Fri Oct 12 17:12:25 EDT 2007


Good!

May I suggest that, in place of the partial result of interpolation, the wrong message is also shown to the user by returning it in the catch block:

  |             log.warn("exception interpolating string: " + string, e);
  |             return string;
  | 

It gives then a direct clue that something is wrong. And it's already the way to do thing in other
cases of wrong syntax (see "messageformat error blows up" test in InterpolatorTest)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094796#4094796

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094796



More information about the jboss-user mailing list