You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/01/17 08:01:45 UTC

[camel] branch master updated: Exception Clause docs: Improve NOTE section

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 61afac9  Exception Clause docs: Improve NOTE section
61afac9 is described below

commit 61afac9a27f241e9e614ea226052f0c396c6fef9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jan 17 09:01:14 2020 +0100

    Exception Clause docs: Improve NOTE section
---
 docs/user-manual/modules/ROOT/pages/exception-clause.adoc | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/exception-clause.adoc b/docs/user-manual/modules/ROOT/pages/exception-clause.adoc
index 6f32dcf..83321a4 100644
--- a/docs/user-manual/modules/ROOT/pages/exception-clause.adoc
+++ b/docs/user-manual/modules/ROOT/pages/exception-clause.adoc
@@ -638,8 +638,11 @@ and is handling the thrown exception. The second clause is a for coarse
 gained selection to select the same exception being thrown but when the
 expression is evaluated to false.
 
-NOTE: this is not required, if the second clause is omitted, then the
+[NOTE]
+====
+This is not required, if the second clause is omitted, then the
 default error handler will kick in.
+====
 
 [[ExceptionClause-UsingonRedeliveryProcessor]]
 == Using `onRedelivery` Processor
@@ -700,9 +703,12 @@ later sine the exception was thrown. On the other hand
 the *`onExceptionOccurred`* processor is always invoked right after the
 exception was thrown, and also if redelivery has been disabled.
 
-NOTE: Any new exceptions thrown from the *`onExceptionOccurred`*
+[NOTE]
+====
+Any new exceptions thrown from the *`onExceptionOccurred`*
 processor is logged as *`WARN`* and ignored, to not override the
 existing exception. 
+====
 
 In the code below we want to do some custom logging when an exception
 happened. Therefore we configure an *`onExceptionOccurred`* to use our