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

James Netherton updated CAMEL-19158:
------------------------------------
    Fix Version/s: 3.18.6
                   3.20.3
                   3.21.0
                   4.0-M3
                   4.0

> camel-core: ThrowExceptionProcessor may silently ignore exceptions in 
> constructing the exception object
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-19158
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19158
>             Project: Camel
>          Issue Type: Bug
>          Components: came-core
>    Affects Versions: 3.18.5, 3.20.2, 4.0-M2
>            Reporter: James Netherton
>            Assignee: James Netherton
>            Priority: Minor
>             Fix For: 3.18.6, 3.20.3, 3.21.0, 4.0-M3, 4.0
>
>
> Back in Camel 3.12, a change was made to ThrowExceptionProcessor: 
> https://github.com/apache/camel/blob/fb0528706d7e8a7d0d6ba22dfb649cb31cf06bc8/core/camel-core-processor/src/main/java/org/apache/camel/processor/ThrowExceptionProcessor.java#L77-L82
> If you happen to drop into the else clause, then no exception is set on the 
> exchange and it's confusing to users as to why no exception was thrown in 
> their route. This is potentially a common thing on Camel Quarkus native mode 
> if the specific exception type was not registered for reflection.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to