Don't use single letter catch variables

Update existing catch blocks to ensure that `ex` is always used
in preference to `e` or `t` as the variable name.

Issue: SPR-16968
This commit is contained in:
Phillip Webb
2018-06-20 19:44:13 -07:00
committed by Juergen Hoeller
parent 8f9aa06dfe
commit 0ad0f341bd
6 changed files with 17 additions and 17 deletions

View File

@@ -403,8 +403,8 @@ public class ThreadPoolTaskScheduler extends ExecutorConfigurationSupport
try {
return this.delegate.call();
}
catch (Throwable t) {
this.errorHandler.handleError(t);
catch (Throwable ex) {
this.errorHandler.handleError(ex);
return null;
}
}