During model update, when a setter method throws an exception, the following message will display:
 
"_idJsp137": Error during model data update.
 
public void setValue(String value) throws MyException {
   ...
   throw new MyException("my error message");
}
 
I like "my error message" to be used instead of the JSF generated one that will confuse users.  What exception should I throw in order for the message to be taken?
 
Thanks for help,


Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.

Reply via email to