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

Colm O hEigeartaigh closed CXF-6522.
------------------------------------

> 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
>            Assignee: Sergey Beryozkin
>             Fix For: 3.1.3, 2.7.18, 3.0.7
>
>         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)

Reply via email to