cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ievgen Tarasov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6522) ThreadLocalInvocationHandler doesn't handle InvocationTargetException
Date Thu, 06 Aug 2015 10:56:04 GMT

    [ https://issues.apache.org/jira/browse/CXF-6522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14659825#comment-14659825
] 

Ievgen Tarasov commented on CXF-6522:
-------------------------------------

Hi Sergey, I've just attached the patch.

> ThreadLocalInvocationHandler doesn't handle InvocationTargetException
> ---------------------------------------------------------------------
>
>                 Key: CXF-6522
>                 URL: https://issues.apache.org/jira/browse/CXF-6522
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.1, 3.1.2
>            Reporter: Ievgen Tarasov
>         Attachments: CXF-6522.patch, CXF-Undeclared-Throwable.txt
>
>
> For example, it happens if a date passed in a FIQL query cannot be parsed. FiqlParser
throws a SearchParseException, but because ThreadLocalInvocationHandler doesn't handle InvocationTargetException,
the code that invoked the parser (via SearchContext) receives UndeclaredThrowableException
(see [^CXF-Undeclared-Throwable.txt] for details).
> A [patch|^CXF-6522.patch] that fixes InvocationTargetException handling is provided.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message