]
Gavin King closed JBSEAM-1121.
------------------------------
Fix Version/s: 1.3.0.BETA1
Resolution: Done
Assignee: Gavin King
fixed in CVS
exception instantiating model validator is very difficult to debug
------------------------------------------------------------------
Key: JBSEAM-1121
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1121
Project: JBoss Seam
Issue Type: Feature Request
Components: JSF
Affects Versions: 1.2.1.GA
Reporter: Keith Naas
Assigned To: Gavin King
Fix For: 1.3.0.BETA1
Within the ModelValidator, if an exception is thrown while validating the value, the
original exception is neither nested in the ValidatorException nor is it logged. It turns
out that one of our validators was causing the Hibernate validator to throw an
IllegalArgumentException. We have since fixed it, but we would like to see the code
changed in the ModelValidator to make it a bit easier to debug in the future..
catch (Exception e)
{
throw new ValidatorException( new FacesMessage(FacesMessage.SEVERITY_ERROR,
"model validation failed:" + e.getMessage(), null) );
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: