Polishing

This commit is contained in:
Gary Russell
2018-03-05 11:17:48 -05:00
committed by Artem Bilan
parent 6065745913
commit bc25eff34c
2 changed files with 3 additions and 3 deletions

View File

@@ -133,11 +133,11 @@ public abstract class AbstractDispatcher implements MessageDispatcher {
* It also does not wrap other {@link RuntimeException}s.
* TODO: Remove this in favor of
* {@code #wrapInDeliveryExceptionIfNecessary(Message, Supplier, Exception)} in 5.1.
* @deprecated in favor of
* {@code IntegrationUtils#wrapInDeliveryExceptionIfNecessary(Message, Supplier, Exception)}
* @param message the message.
* @param e the exception.
* @return the wrapper, if necessary, or the original exception.
* @deprecated in favor of
* {@code IntegrationUtils#wrapInDeliveryExceptionIfNecessary(Message, Supplier, Exception)}
*/
@Deprecated
protected RuntimeException wrapExceptionIfNecessary(Message<?> message, Exception e) {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2016 the original author or authors.
* Copyright 2014-2018 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.