[hibernate-issues] [Hibernate-JIRA] Commented: (HV-24) Improve the default message of InvalidStateException

Nicolás Lichtmaier (JIRA) noreply at atlassian.com
Wed Jul 11 14:54:52 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27453 ] 

Nicolás Lichtmaier commented on HV-24:
--------------------------------------

Of course, and I might decide just logging the printStackTrace output of exceptions in general (no just that one). For any other exception, the "printStackTrace" method will try to represent all the problem.

We are not talking about a nice user-visible display, just a small list of the failed tests. Of course is not must-to-have feature, but in my experiencie it would be a nice thing to have.

> Improve the default message of InvalidStateException
> ----------------------------------------------------
>
>                 Key: HV-24
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-24
>             Project: Hibernate Validator
>          Issue Type: Improvement
>          Components: engine
>    Affects Versions: 3.0.0.ga
>         Environment: Any
>            Reporter: Mike Quilleash
>
> Doing a printStackTrace on InvalidStateException does not give the actual invalid values anywhere.  Would greatly improving debugging speed if this was included by default as often this indicates a programming error.  Currently I have to run the code again and debug the right place to find out what the InvalidValues are.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the hibernate-issues mailing list