Polish caught exception names

Prefer `ex` over `e`.
This commit is contained in:
Phillip Webb
2018-05-03 12:50:16 -07:00
parent 41efea51a7
commit 2d70a7ae5e
10 changed files with 13 additions and 13 deletions

View File

@@ -64,7 +64,7 @@ class Container implements TestRule {
try {
DockerClientFactory.instance().client();
}
catch (Throwable t) {
catch (Throwable ex) {
return new SkipStatement();
}
this.container = this.containerFactory.get();

View File

@@ -62,8 +62,8 @@ public class Neo4jContainer extends Container {
Unreliables.retryUntilTrue((int) this.startupTimeout.getSeconds(),
TimeUnit.SECONDS, checkConnection(sessionFactory));
}
catch (TimeoutException e) {
throw new IllegalStateException();
catch (TimeoutException ex) {
throw new IllegalStateException(ex);
}
}