From 2a937a369ea62bf3ead0e40ca89b3cac3b035a66 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 11 Apr 2014 15:57:21 +0200 Subject: [PATCH] Polish Javadoc in SimpleApplicationEventMulticaster --- .../context/event/SimpleApplicationEventMulticaster.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/context/event/SimpleApplicationEventMulticaster.java b/spring-context/src/main/java/org/springframework/context/event/SimpleApplicationEventMulticaster.java index c53475223a7..eefd0b393b3 100644 --- a/spring-context/src/main/java/org/springframework/context/event/SimpleApplicationEventMulticaster.java +++ b/spring-context/src/main/java/org/springframework/context/event/SimpleApplicationEventMulticaster.java @@ -85,18 +85,19 @@ public class SimpleApplicationEventMulticaster extends AbstractApplicationEventM } /** - * Set the {@link ErrorHandler} to invoke in case of an exception thrown + * Set the {@link ErrorHandler} to invoke in case an exception is thrown * from a listener. *

Default is none, with a listener exception stopping the current * multicast and getting propagated to the publisher of the current event. - * In case of a {@link #setTaskExecutor task executor} specified, each + * If a {@linkplain #setTaskExecutor task executor} is specified, each * individual listener exception will get propagated to the executor but * won't necessarily stop execution of other listeners. *

Consider setting an {@link ErrorHandler} implementation that catches * and logs exceptions (a la * {@link org.springframework.scheduling.support.TaskUtils#LOG_AND_SUPPRESS_ERROR_HANDLER}) * or an implementation that logs exceptions while nevertheless propagating them - * ({@link org.springframework.scheduling.support.TaskUtils#LOG_AND_PROPAGATE_ERROR_HANDLER}). + * (e.g., + * {@link org.springframework.scheduling.support.TaskUtils#LOG_AND_PROPAGATE_ERROR_HANDLER}). * @since 4.1 */ public void setErrorHandler(ErrorHandler errorHandler) {