Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 95752 invoked from network); 6 Apr 2009 06:36:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Apr 2009 06:36:56 -0000 Received: (qmail 12387 invoked by uid 500); 6 Apr 2009 06:36:56 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 12323 invoked by uid 500); 6 Apr 2009 06:36:55 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 12313 invoked by uid 500); 6 Apr 2009 06:36:55 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 12310 invoked by uid 99); 6 Apr 2009 06:36:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 06:36:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 06:36:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B74BF234C051 for ; Sun, 5 Apr 2009 23:36:34 -0700 (PDT) Message-ID: <1457350160.1238999794749.JavaMail.jira@brutus> Date: Sun, 5 Apr 2009 23:36:34 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-1518) Add method Exchange.getException(Type) - that will traverse the caused by tree and find the given type In-Reply-To: <852269861.1238864974692.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-1518. -------------------------------- Resolution: Fixed trunk: 762220 > Add method Exchange.getException(Type) - that will traverse the caused by tree and find the given type > ------------------------------------------------------------------------------------------------------ > > Key: CAMEL-1518 > URL: https://issues.apache.org/activemq/browse/CAMEL-1518 > Project: Apache Camel > Issue Type: New Feature > Components: camel-core > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.0.0 > > > Camel often wraps the real caused exception in wrapper exceptions such as > - CamelExchangeException > - RuntimeCamelException > and what else is there > We should support its easier to get the caused/expected exception in the exception tree using the type parameter on getException. > Then drill down the tree and find the given exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.