}
@Override
- public void initChannel(SocketChannel ch) {
+ public void initChannel(SocketChannel ch) throws Exception {
ChannelPipeline p = ch.pipeline();
if (mSslContext != null) {
b.childHandler(mServerInitializer);
b.bind(mInetSocketAddress).sync();
+ } catch (Exception e) {
+ e.printStackTrace();
+ throw e;
} finally {
}
}