You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Dirk Moebius (JIRA)" <ji...@apache.org> on 2010/04/28 11:44:49 UTC

[jira] Updated: (PIVOT-483) better exception reporting for BeanAdapter

     [ https://issues.apache.org/jira/browse/PIVOT-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dirk Moebius updated PIVOT-483:
-------------------------------

    Attachment: pivot-483-better_exception_reporting.patch

My attached patch fixes this issue. I created a new RuntimeException subclass called "PropertyException" which is thrown if BeanAdapter fails to set or get a property value. I made PropertyNotFoundException a subclass of the more general PropertyException, to callers can catch both.

> 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
>    Affects Versions: 1.5.1
>            Reporter: Dirk Moebius
>            Priority: Minor
>             Fix For: 1.5.1
>
>         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.