Skip to content

Commit 51d2494

Browse files
committed
Added throws SocketException to SocketFactory.createSocket signature
1 parent 7ec3ff1 commit 51d2494

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/github/shyiko/mysql/binlog/network/SocketFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
package com.github.shyiko.mysql.binlog.network;
1717

1818
import java.net.Socket;
19+
import java.net.SocketException;
1920

2021
/**
2122
* @author <a href="mailto:[email protected]">Stanley Shyiko</a>
2223
*/
2324
public interface SocketFactory {
2425

25-
Socket createSocket();
26+
Socket createSocket() throws SocketException;
2627
}

0 commit comments

Comments
 (0)