Better exception message
This commit is contained in:
parent
3373f83cbb
commit
237ba27499
@ -202,7 +202,7 @@ public abstract class AbstractBootstrap<B extends AbstractBootstrap<B, C>, C ext
|
|||||||
throw new IllegalStateException("group not set");
|
throw new IllegalStateException("group not set");
|
||||||
}
|
}
|
||||||
if (channelFactory == null) {
|
if (channelFactory == null) {
|
||||||
throw new IllegalStateException("factory not set");
|
throw new IllegalStateException("channel or channelFactory not set");
|
||||||
}
|
}
|
||||||
return (B) this;
|
return (B) this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user