Package org.apache.drill.exec.rpc
Class RpcExceptionHandler<C extends RemoteConnection>
java.lang.Object
org.apache.drill.exec.rpc.RpcExceptionHandler<C>
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
public class RpcExceptionHandler<C extends RemoteConnection>
extends Object
implements io.netty.channel.ChannelHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exceptionCaught
(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) void
handlerAdded
(io.netty.channel.ChannelHandlerContext ctx) void
handlerRemoved
(io.netty.channel.ChannelHandlerContext ctx)
-
Constructor Details
-
RpcExceptionHandler
-
-
Method Details
-
exceptionCaught
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception - Specified by:
exceptionCaught
in interfaceio.netty.channel.ChannelHandler
- Throws:
Exception
-
handlerAdded
- Specified by:
handlerAdded
in interfaceio.netty.channel.ChannelHandler
- Throws:
Exception
-
handlerRemoved
- Specified by:
handlerRemoved
in interfaceio.netty.channel.ChannelHandler
- Throws:
Exception
-