polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (POLYGENE-264) Make ConstraintViolations more readable
Date Mon, 19 Jun 2017 02:02:00 GMT

    [ 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; 
	Constraint Violation(s) in service LegalService with id=[null].
		@Optional(not optional) on WillItem.description(). Parameter [description] does not allow
value [null].
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

View raw message