[ https://issues.apache.org/jira/browse/POLYGENE-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16053400#comment-16053400 ]
Niclas Hedhman commented on POLYGENE-264: ----------------------------------------- It now looks like this by default; {code} org.apache.polygene.api.constraint.ConstraintViolationException: Constraint Violation(s) in service LegalService with id=[null]. @Optional(not optional) on WillItem.description(). Parameter [description] does not allow value [null]. {code} and variants on that. > Make ConstraintViolations more readable > --------------------------------------- > > Key: POLYGENE-264 > URL: https://issues.apache.org/jira/browse/POLYGENE-264 > Project: Polygene > Issue Type: Bug > Reporter: Niclas Hedhman > Assignee: Niclas Hedhman > Fix For: 3.0.0 > > > The ConstraintViolationException outputs the details of the problem. But it > hard to parse the information for a human. > Additionally, the documentation is incorrect. > There has simply not been enough love given to this exception and too many > different kinds of violations have been added without much care over time. > Need to clean this up. -- This message was sent by Atlassian JIRA (v6.4.14#64029)