From 67142dcb0a0ea68ea4e0cea459fa7e11e38348f5 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 5 Feb 2014 20:15:50 +0100 Subject: [PATCH] Polish Javadoc in @*ExceptionHandler --- .../handler/annotation/MessageExceptionHandler.java | 12 ++++++------ .../web/bind/annotation/ExceptionHandler.java | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/MessageExceptionHandler.java b/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/MessageExceptionHandler.java index f7fdc4086d..8261505161 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/MessageExceptionHandler.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/MessageExceptionHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,9 +24,9 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * Annotation for handling exceptions from message-handling methods within specific - * handler methods. - * + * Annotation for handling exceptions thrown from message-handling methods within a + * specific handler class. + * * @author Rossen Stoyanchev * @since 4.0 */ @@ -36,8 +36,8 @@ import java.lang.annotation.Target; public @interface MessageExceptionHandler { /** - * Exceptions handled by the annotation method. If empty, will default - * to any exceptions listed in the method argument list. + * Exceptions handled by the annotated method. If empty, will default to any + * exceptions listed in the method argument list. */ Class[] value() default {}; diff --git a/spring-web/src/main/java/org/springframework/web/bind/annotation/ExceptionHandler.java b/spring-web/src/main/java/org/springframework/web/bind/annotation/ExceptionHandler.java index 90191f1d8d..b21bd6ac5c 100644 --- a/spring-web/src/main/java/org/springframework/web/bind/annotation/ExceptionHandler.java +++ b/spring-web/src/main/java/org/springframework/web/bind/annotation/ExceptionHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -119,8 +119,8 @@ import java.lang.annotation.Target; public @interface ExceptionHandler { /** - * Exceptions handled by the annotation method. If empty, will default - * to any exceptions listed in the method argument list. + * Exceptions handled by the annotated method. If empty, will default to any + * exceptions listed in the method argument list. */ Class[] value() default {};