[hibernate-issues] [Hibernate-JIRA] Issue Comment Edited: (BVAL-264) Improve toString() in ConstraintViolationException

Hardy Ferentschik (JIRA) noreply at atlassian.com
Wed Feb 8 12:30:10 EST 2012


    [ https://hibernate.onjira.com/browse/BVAL-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45413#comment-45413 ] 

Hardy Ferentschik edited comment on BVAL-264 at 2/8/12 11:29 AM:
-----------------------------------------------------------------

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. Moving it to BVAL.

      was (Author: hardy.ferentschik):
    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: BVAL-264
>                 URL: https://hibernate.onjira.com/browse/BVAL-264
>             Project: Bean Validation
>          Issue Type: Improvement
>         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