Skip to content

Commit 1ec628a

Browse files
committed
name exceptions consistently
1 parent 7ca53e5 commit 1ec628a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

epoll/src/main/java/tel/schich/javacan/platform/linux/epoll/EPollSelector.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ public void close() throws IOException {
9595
IOException e = null;
9696
try {
9797
EPoll.close(epollfd);
98-
} catch (LinuxNativeOperationException ex) {
99-
e = ex;
98+
} catch (LinuxNativeOperationException epollfdClose) {
99+
e = epollfdClose;
100100
}
101101
try {
102102
EPoll.close(eventfd);

0 commit comments

Comments
 (0)