myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joris Wijlens <joris.wijl...@philips.com>
Subject Translating exceptions in update model values phase to user friendly messages.
Date Fri, 23 Dec 2005 13:57:07 GMT
Hi,

I use my domain model objects in my backing beans to back forms (I'd like 
not to discuss domain model objects vs. data transfer objects here). Some 
of these domain model objects contain validation logic in their setter 
methods that might throw exceptions in the update model values (correct me 
if i'm wrong). How can I catch these exceptions and translate them in user 
friendly messages.

Thanks anyway,

Joris Wijlens
Mime
View raw message