Improve DeserializerExceptionHandler 03/97303/4
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 23 Aug 2021 23:28:01 +0000 (01:28 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 24 Aug 2021 20:14:40 +0000 (22:14 +0200)
commit77d67c10c3a9aec2d63adb7fcccd1d24a5272633
tree385b1eb85b4201306f7dc0e733b26c5e2b3072dd
parent43d630cb5bb6da080e5d861e5bbbc1f04c1e7d68
Improve DeserializerExceptionHandler

We are getting a deprecation warning, as there exceptionCaught() really
makes sense only on inbound side. This happens to be what we actually
are doing with DeserializerExceptionHandler anyway, so just pick up
ChannelInboundHandlerAdapter and use that as the superclass.

Change-Id: Ic661e4e85f4442a395c820463abf00e71c52543e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-impl/src/main/java/org/opendaylight/netconf/impl/util/DeserializerExceptionHandler.java