void function ( ) { final RPCMessage loc0 = new RPCBlockReadRequest ( 0 , 0 , 0 , 0 , 0 ) ; mThrown . expect ( IllegalArgumentException . class ) ; mThrown . expectMessage ( ExceptionMessage . NO_RPC_HANDLER . getMessage ( loc0 . getType ( ) ) ) ; mHandler . channelRead0 ( mContext , loc0 ) ; }
makes sure that an illegalargumentexception is thrown when the message isnot a alluxio.network.protocol.rpcresponse . concode_field_sep ExpectedException mThrown concode_elem_sep ClientHandler mHandler concode_elem_sep ChannelHandlerContext mContext concode_field_sep void exceptionCaughtClosesContext concode_elem_sep void before concode_elem_sep void channelRead0ResponseReceived concode_elem_sep void addListener