Since any exception thrown in netty handler stack will generate an upstream event and eventually invoke exceptionCaught in handler the exceptions will not reach the uncaught-exception-handler. Even rethrowing that exception in exceptionCaught method doesn’t help (because netty handles it again). I would like to throw (some or all) unchecked exceptions from exceptionCaught method. Is there any way to do this?
Since any exception thrown in netty handler stack will generate an upstream event and
Share
No there is no way todo this. The only thing you can do about is is to handle the Exception in ExceptionCaught. Why is this a problem for you ?