Polish Javadoc in @EventListener

This commit is contained in:
Sam Brannen 2015-07-08 18:40:08 +02:00
parent 72f0ac7e5b
commit 2e41c2e23d
1 changed files with 4 additions and 3 deletions

View File

@ -52,9 +52,10 @@ import org.springframework.core.annotation.AliasFor;
* {@link org.springframework.core.annotation.Order @Order} annotation
* alongside this annotation.
*
* <p>While it is possible to define any arbitrary exception types, checked
* exceptions will be wrapped in a {@link java.lang.reflect.UndeclaredThrowableException}
* so that the caller only handles runtime exceptions.
* <p>While it is possible for an event listener to declare that it throws
* arbitrary exception types, any checked exceptions thrown from an event
* listener will be wrapped in a {@link java.lang.reflect.UndeclaredThrowableException}
* since the caller can only handle runtime exceptions.
*
* @author Stephane Nicoll
* @since 4.2