chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Hübel (JIRA) <j...@apache.org>
Subject [jira] [Updated] (CMIS-337) QueryUtil swallows error message
Date Thu, 24 Mar 2011 21:12:06 GMT

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

Jens Hübel updated CMIS-337:
----------------------------


Done. Thanks for providing the patch. (It appears that you unintentionally derive from a superclass
if you create a new class in Eclipse and your cursor is positioned on another class. This
happened to me more than once.)

> 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
>            Assignee: Jens Hübel
>         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

Mime
View raw message