From 511734c3d8ba29a071dbcb05bb49bb4be457fefb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=83=E9=94=8B?= Date: Thu, 15 Mar 2018 20:21:42 +0800 Subject: [PATCH] fixed compiler error --- .../otter/canal/parse/driver/mysql/socket/BioSocketChannel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/src/main/java/com/alibaba/otter/canal/parse/driver/mysql/socket/BioSocketChannel.java b/driver/src/main/java/com/alibaba/otter/canal/parse/driver/mysql/socket/BioSocketChannel.java index 65b55ed9..4a272fd6 100644 --- a/driver/src/main/java/com/alibaba/otter/canal/parse/driver/mysql/socket/BioSocketChannel.java +++ b/driver/src/main/java/com/alibaba/otter/canal/parse/driver/mysql/socket/BioSocketChannel.java @@ -56,7 +56,7 @@ public class BioSocketChannel implements SocketChannel { } } catch (SocketTimeoutException te) { if (Thread.interrupted()) { - throw new ClosedByInterruptException("Interrupted while reading."); + throw new ClosedByInterruptException(); } } }