You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Daniel Pitts (Updated) (JIRA)" <ji...@apache.org> on 2011/10/17 01:50:11 UTC

[jira] [Updated] (OGNL-28) Visitor pattern needs way to propagate exceptions.

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

Daniel Pitts updated OGNL-28:
-----------------------------

    Attachment: Visitor_with_exceptions.patch

Patch will fix visitor/accept methods to support exceptions.
                
> Visitor pattern needs way to propagate exceptions.
> --------------------------------------------------
>
>                 Key: OGNL-28
>                 URL: https://issues.apache.org/jira/browse/OGNL-28
>             Project: OGNL
>          Issue Type: Improvement
>            Reporter: Daniel Pitts
>         Attachments: Visitor_with_exceptions.patch
>
>
> The previous patch I created for NodeVisitor neglects the fact that some visitors may wish to throw exceptions. I've created a patch in which all "accept" and "visit" methods throw OgnlException.
> Patch to come.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira