mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
ServerSocketChannel throws IOException, not Exception
This commit is contained in:
parent
ca251dfa17
commit
b3accf1b30
@ -40,7 +40,7 @@ public class ServerSocketChannel extends SelectableChannel {
|
||||
channel.close();
|
||||
}
|
||||
|
||||
public SocketChannel accept() throws Exception {
|
||||
public SocketChannel accept() throws IOException {
|
||||
SocketChannel c = new SocketChannel();
|
||||
c.socket = doAccept();
|
||||
c.connected = true;
|
||||
|
Loading…
Reference in New Issue
Block a user