diff --git a/spring-webflow/src/main/java/org/springframework/webflow/engine/FlowExecutionExceptionHandler.java b/spring-webflow/src/main/java/org/springframework/webflow/engine/FlowExecutionExceptionHandler.java index d2e3d04e..578b2d6a 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/engine/FlowExecutionExceptionHandler.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/engine/FlowExecutionExceptionHandler.java @@ -35,6 +35,10 @@ public interface FlowExecutionExceptionHandler { /** * Handle the exception in the context of the current request, optionally making an error view selection that should * be rendered. + *

+ * Note that you should avoid throwing exceptions from an exception handler. If you do, plug in a fallback exception + * handler that handles those kinds of exceptions, otherwise you could end up with an infinite loop while handling + * exceptions. * @param exception the exception that occured * @param context the execution control context for this request * @return the selected error view that should be displayed (may be null if the handler chooses not to select a