You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2015/04/23 08:17:38 UTC

[jira] [Resolved] (CAMEL-6406) Add support to ObjectHelper.getException() for Java 1.7 Throwable.getSuppressed()

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

Willem Jiang resolved CAMEL-6406.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.16.0

I just update the ObjectHelper code to take the Suppressed exception into consideration before checking the cased exception.

> Add support to ObjectHelper.getException() for Java 1.7 Throwable.getSuppressed()
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-6406
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6406
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.11.0, 2.14.0
>            Reporter: Aaron Whiteside
>            Assignee: Willem Jiang
>             Fix For: 2.16.0
>
>
> Add support to ObjectHelper.getException() for Java 1.7 Throwable.getSuppressed()
> Now that exceptions can be suppressed in Java 1.7 Camel should be able to detect when running in a 1.7 JVM and use the additional suppressed Throwables when searching for specific exception types. 



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