Browse Source

fixed compiler error

七锋 7 years ago
parent
commit
511734c3d8

+ 1 - 1
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();
                 }
             }
         }