commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Buades Rubio (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JXPATH-131) Bean exception handling
Date Fri, 03 Apr 2009 10:12:12 GMT

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

Gabriel Buades Rubio updated JXPATH-131:
----------------------------------------

    Attachment: patch.test.diff

Patch to be applied to junit tests.

> Bean exception handling
> -----------------------
>
>                 Key: JXPATH-131
>                 URL: https://issues.apache.org/jira/browse/JXPATH-131
>             Project: Commons JXPath
>          Issue Type: Improvement
>    Affects Versions: 1.2 Final, 1.3
>         Environment: Many
>            Reporter: Gabriel Buades Rubio
>             Fix For: 1.3
>
>         Attachments: patch.diff, patch.test.diff
>
>
> When an exception is thrown from a bean getter method, or a Collection size() method,
this exception is simply ignored.
> I've improved this behavior, by allowing a new setIgnoreExceptions(boolean ignoreExceptions)
 method on JXPathContext.
> When you set ignoreExceptions to false, any exception thrown will be reported to the
client application.
> When you do not set ignoreExceptions, any exception will be ignored as usual

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