@ChannelHandler.Sharable
public class LogExceptionChannelHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
private ComponentLog |
log |
| Constructor and Description |
|---|
LogExceptionChannelHandler(ComponentLog log) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext context,
Throwable exception)
Log Exceptions caught during Channel handling
|
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprivate final ComponentLog log
public LogExceptionChannelHandler(ComponentLog log)
public void exceptionCaught(io.netty.channel.ChannelHandlerContext context,
Throwable exception)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdaptercontext - Channel Handler Contextexception - ExceptionCopyright © 2022 Apache NiFi Project. All rights reserved.