} catch(AlreadyConnectedException e) {
throw runtime.newErrnoEISCONNError();
} catch(ConnectionPendingException e) {
throw runtime.newErrnoEINPROGRESSWritableError();
} catch(UnknownHostException e) {
throw SocketUtils.sockerr(runtime, "connect(2): unknown host");
} catch(SocketException e) {