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] [Created] (CXF-6522) ThreadLocalInvocationHandler doesn't handle InvocationTargetException
Date Thu, 06 Aug 2015 10:31:04 GMT
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)

Mime
View raw message