pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Moebius (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIVOT-483) better exception reporting for BeanAdapter
Date Thu, 29 Apr 2010 13:30:53 GMT

    [ https://issues.apache.org/jira/browse/PIVOT-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862192#action_12862192

Dirk Moebius commented on PIVOT-483:

Thanks for fixing this. I wasn't aware that getTargetException() has been (sort of) "deprecated",
thanks for pointing that out.

I don't care much about not having PropertyException. I was thinking about a future gui editor
or some other tooling, where it might come handy to exactly know which property failed and
why. If you take it to the extreme, you could create "PropertyGetException" and "PropertySetException",
both carrying the property name in question, so the gui editor could highlight the failed
property etc. But, as you said, not a strong use case.

> better exception reporting for BeanAdapter
> ------------------------------------------
>                 Key: PIVOT-483
>                 URL: https://issues.apache.org/jira/browse/PIVOT-483
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core-beans
>            Reporter: Dirk Moebius
>            Priority: Minor
>             Fix For: 1.5
>         Attachments: pivot-483-better_exception_reporting.patch
> If BeanAdapter fails to get or set the value of a property for any reason (eg. wrong
type, illegal argument exception etc.), the name of the property is not reported.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message