myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul McMahan (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (MYFACES-1577) PropertyResolver should throw PropertyNotFoundException
Date Thu, 05 Apr 2007 14:09:33 GMT

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

Paul McMahan updated MYFACES-1577:
----------------------------------

    Status: Patch Available  (was: Reopened)

> PropertyResolver should throw PropertyNotFoundException
> -------------------------------------------------------
>
>                 Key: MYFACES-1577
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1577
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-252
>    Affects Versions: 1.2.0-SNAPSHOT
>            Reporter: Paul McMahan
>         Assigned To: Dennis Byrne
>             Fix For: 1.2.0-SNAPSHOT
>
>         Attachments: MYFACES-1577.patch
>
>
> According to the spec several methods in PropertyResolver should throw PropertyNotFoundException
in the following circumstances:
> getValue(Object base, int index) 
>     PropertyNotFoundException - if the index is out of bounds or if base is null
> setValue(Object base, int index, Object value)
>     PropertyNotFoundException - if the index is out of bounds or if base is null
> setValue(Object base, Object property, Object value) 
>     PropertyNotFoundException - if the specified bean base object property does not exist
or if base or property is null
> BTW,  MYFACES-1576 already addressed these two cases:
> getType(Object base, int index) 
>     PropertyNotFoundException - if the index is out of bounds or if base is null
> getType(Object base, Object property)
>     PropertyNotFoundException - if the specified bean base object property does not exist
or if base or property is null

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


Mime
View raw message