Ievgen Tarasov created CXF-6522:
-----------------------------------
Summary: 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.2, 3.1.1
Reporter: Ievgen Tarasov
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 that fixes InvocationTargetException handling is provided.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)