Author: davsclaus
Date: Fri Dec 5 00:47:35 2008
New Revision: 723659
URL: http://svn.apache.org/viewvc?rev=723659&view=rev
Log:
Polished javadoc
Modified:
activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/DefaultExceptionPolicyStrategy.java
Modified:
activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/DefaultExceptionPolicyStrategy.java
URL:
http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/DefaultExceptionPolicyStrategy.java?rev=723659&r1=723658&r2=723659&view=diff
==============================================================================
---
activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/DefaultExceptionPolicyStrategy.java
(original)
+++
activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/exceptionpolicy/DefaultExceptionPolicyStrategy.java
Fri Dec 5 00:47:35 2008
@@ -36,11 +36,13 @@
* <br/>This strategy applies the following rules:
* <ul>
* <li>Will walk the exception hieracy from bottom upwards till the thrown
exception, meaning that the most outer caused
- * by is selected first, ending with the thrown exception itself</li>
+ * by is selected first, ending with the thrown exception itself. The method
[EMAIL PROTECTED] #createExceptionIterator(Throwable)}
+ * provides the Iterator used for the walking.</li>
* <li>The exception type must be configured with an Exception that is an
instance of the thrown exception, this
- * is tested using the [EMAIL PROTECTED]
#filter(org.apache.camel.model.ExceptionType, Class, Throwable)} method. </li>
- * <li>If the exception type has exactly the thrown exception then its
selected as its an exact match</li>
- * <li>Otherwise the type that has an exception that is the closests super of
the thrown exception is selected
+ * is tested using the [EMAIL PROTECTED]
#filter(org.apache.camel.model.ExceptionType, Class, Throwable)} method.
+ * By default the filter uses <tt>instanceof</tt> test.</li>
+ * <li>If the exception type has <b>exactly</b> the thrown exception then its
selected as its an exact match</li>
+ * <li>Otherwise the type that has an exception that is the closets super of
the thrown exception is selected
* (recurring up the exception hierarchy)</li>
* </ul>
* <p/>