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:04:00 GMT

    [ https://issues.apache.org/jira/browse/POLYGENE-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16053403#comment-16053403
] 

Niclas Hedhman commented on POLYGENE-264:
-----------------------------------------

By setting the system property "polygene.constraints.longNames=true", the fully qualified
class names will be output. But I think more often than not, people don't care about the packages,
and only rarely does it matter, hence the default to "getSimpleName()".

> 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)

Mime
View raw message