Skip to content

Commit 459f833

Browse files
committed
Don't swallow InterruptedExceptions
See dnsjava#69
1 parent f91e6ce commit 459f833

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/java/org/xbill/DNS/ExtendedResolver.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ private static class Resolution implements ResolverListener {
110110
wait();
111111
}
112112
catch (InterruptedException e) {
113+
throw new IOException(e);
113114
}
114115
}
115116
}

src/main/java/update.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ public class update {
193193
try {
194194
Thread.sleep(interval);
195195
} catch (InterruptedException e) {
196+
throw new IOException(e);
196197
}
197198
break;
198199
case "date":

0 commit comments

Comments
 (0)