Remove Exception from IOS.onInit()

This commit is contained in:
Gary Russell
2018-12-21 17:01:35 -05:00
committed by Artem Bilan
parent 81b4ea1bef
commit 113a371f2c
63 changed files with 118 additions and 94 deletions

View File

@@ -256,7 +256,7 @@ public class BaseHttpInboundEndpoint extends MessagingGatewaySupport implements
}
@Override
protected void onInit() throws Exception {
protected void onInit() {
super.onInit();
validateSupportedMethods();

View File

@@ -141,7 +141,7 @@ public class HttpRequestHandlingController extends HttpRequestHandlingEndpointSu
}
@Override
protected void onInit() throws Exception {
protected void onInit() {
super.onInit();
this.evaluationContext = this.createEvaluationContext();
}

View File

@@ -218,7 +218,7 @@ public abstract class HttpRequestHandlingEndpointSupport extends BaseHttpInbound
* was called with true after the converters were set.
*/
@Override
protected void onInit() throws Exception {
protected void onInit() {
super.onInit();
BeanFactory beanFactory = getBeanFactory();
if (this.multipartResolver == null && beanFactory != null) {