You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/03/31 04:27:08 UTC

[camel] branch main updated: Update why-is-the-exception-null-when-i-use-onexception.adoc (#9719)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 9adb3269395 Update why-is-the-exception-null-when-i-use-onexception.adoc (#9719)
9adb3269395 is described below

commit 9adb32693950564c1216a71c9681e7ebe8df55db
Author: Schillaci McInnis <ke...@gmail.com>
AuthorDate: Fri Mar 31 00:27:01 2023 -0400

    Update why-is-the-exception-null-when-i-use-onexception.adoc (#9719)
---
 .../faq/pages/why-is-the-exception-null-when-i-use-onexception.adoc     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/user-manual/modules/faq/pages/why-is-the-exception-null-when-i-use-onexception.adoc b/docs/user-manual/modules/faq/pages/why-is-the-exception-null-when-i-use-onexception.adoc
index 78b4db745f9..c15df27bc65 100644
--- a/docs/user-manual/modules/faq/pages/why-is-the-exception-null-when-i-use-onexception.adoc
+++ b/docs/user-manual/modules/faq/pages/why-is-the-exception-null-when-i-use-onexception.adoc
@@ -8,7 +8,7 @@ If you use `onException` to handle exceptions, such as shown below:
   .process(new Processor() {
     @Override
     public void process(Exchange exchange) throws Exception {
-      Exception cause = exchange.getException());
+      Exception cause = exchange.getException();
       // why cause exception is null ???
     }
   })