You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2011/03/23 18:12:05 UTC

[jira] [Updated] (CMIS-337) QueryUtil swallows error message

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

Michael Dürig updated CMIS-337:
-------------------------------

    Attachment: CMIS-337.patch

proposed patch

> QueryUtil swallows error message 
> ---------------------------------
>
>                 Key: CMIS-337
>                 URL: https://issues.apache.org/jira/browse/CMIS-337
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.3.0
>            Reporter: Michael Dürig
>         Attachments: CMIS-337.patch
>
>
> QueryUtil.traverseStatementAndCatchExc does in case of a RecognitionException always report 'null' for the error message. 
> Furthermore QueryUtil should not extend QueryObject since it is a pure utility class for traversing queriy statements and handling exceptions. QueryObject OTOH is used to accumulate the result of such a traversal. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira