From ab2113cc13e02ba406debdd3b4572f8536a7f72c Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Wed, 27 Oct 2010 13:16:07 -0400 Subject: [PATCH] polishing --- .../integration/MessageDeliveryException.java | 4 ++-- .../integration/MessageHandlingException.java | 4 ++-- .../integration/MessageRejectedException.java | 2 +- .../integration/MessageTimeoutException.java | 3 ++- .../springframework/integration/MessagingException.java | 7 +++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/MessageDeliveryException.java b/spring-integration-core/src/main/java/org/springframework/integration/MessageDeliveryException.java index 18b33d085e..106883ac4a 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/MessageDeliveryException.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/MessageDeliveryException.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2010 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. @@ -17,7 +17,7 @@ package org.springframework.integration; /** - * Exception that indicates an error during message delivery. + * Exception that indicates an error occurred during message delivery. * * @author Mark Fisher */ diff --git a/spring-integration-core/src/main/java/org/springframework/integration/MessageHandlingException.java b/spring-integration-core/src/main/java/org/springframework/integration/MessageHandlingException.java index 25f7978ece..02238d184e 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/MessageHandlingException.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/MessageHandlingException.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2010 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. @@ -17,7 +17,7 @@ package org.springframework.integration; /** - * Exception that indicates an error during message handling. + * Exception that indicates an error occurred during message handling. * * @author Mark Fisher */ diff --git a/spring-integration-core/src/main/java/org/springframework/integration/MessageRejectedException.java b/spring-integration-core/src/main/java/org/springframework/integration/MessageRejectedException.java index 0b0d62eac5..47e3e542dd 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/MessageRejectedException.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/MessageRejectedException.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2010 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. diff --git a/spring-integration-core/src/main/java/org/springframework/integration/MessageTimeoutException.java b/spring-integration-core/src/main/java/org/springframework/integration/MessageTimeoutException.java index 7480084975..d4ffbedabd 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/MessageTimeoutException.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/MessageTimeoutException.java @@ -16,8 +16,9 @@ package org.springframework.integration; - /** + * Exception that indicates a timeout elapsed prior to successful message delivery. + * * @author Mark Fisher */ @SuppressWarnings("serial") diff --git a/spring-integration-core/src/main/java/org/springframework/integration/MessagingException.java b/spring-integration-core/src/main/java/org/springframework/integration/MessagingException.java index d146eac53e..99db40ed26 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/MessagingException.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/MessagingException.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2010 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. @@ -16,9 +16,8 @@ package org.springframework.integration; - /** - * The base exception for any failures within the messaging system. + * The base exception for any failures related to messaging. * * @author Mark Fisher * @author Gary Russell @@ -26,7 +25,7 @@ package org.springframework.integration; @SuppressWarnings("serial") public class MessagingException extends RuntimeException { - private Message failedMessage; + private volatile Message failedMessage; public MessagingException(Message message) {