This commit is contained in:
Redkale
2018-05-29 09:35:15 +08:00
parent bfdceec81b
commit c73ebf88db

View File

@@ -100,7 +100,7 @@ public abstract class ProtocolServer {
} else if ("bio".equalsIgnoreCase(netimpl)) {
return new UdpBioProtocolServer(context);
}
} else {
} else if (netimpl == null || netimpl.isEmpty()) {
throw new RuntimeException("ProtocolServer not support protocol " + protocol);
}
try {