[hibernate-issues] [Hibernate-JIRA] Commented: (HV-555) Improve toString() in ConstraintViolationException
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Wed Feb 8 12:26:09 EST 2012
[ https://hibernate.onjira.com/browse/HV-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45413#comment-45413 ]
Hardy Ferentschik commented on HV-555:
--------------------------------------
Right, but this is not something we can address in Hibernate Validator, but needs to be done in Bean Validation. _ConstraintViolationException_ is a class from the BV api/spec
> Improve toString() in ConstraintViolationException
> --------------------------------------------------
>
> Key: HV-555
> URL: https://hibernate.onjira.com/browse/HV-555
> Project: Hibernate Validator
> Issue Type: Improvement
> Components: engine
> Affects Versions: 4.2.0.Final
> Environment: N/A
> Reporter: David J. M. Karlsen
> Labels: exception, toString
>
> It would be nice if the mesage from ConstraintViolationException was better so that when logging it would show the beanpath and errors by default.
> Today it will just read:
> {noformat}
> javax.validation.ConstraintViolationException: null
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list