You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gabriel Buades Rubio (JIRA)" <ji...@apache.org> on 2009/04/03 12:12:12 UTC

[jira] Updated: (JXPATH-131) Bean exception handling

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

Patch to be applied at source tree

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