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] Updated: (PIVOT-483) better exception reporting for BeanAdapter
Date Wed, 28 Apr 2010 09:44:49 GMT

     [ 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.

View raw message