X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fnetconf%2Fnetconf-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Fimpl%2Futil%2FDeserializerExceptionHandler.java;h=e336914981222e5572a77a4f2b09a05fea82dc50;hb=a2563a94253f9c2603e0ab25b8f412ea07fcf51d;hp=31c4d4f57e7b65f6f4b9ae5e28376346e3be3600;hpb=59a26f11e6f07d6b36aa820562ad00e367dcaa3b;p=controller.git diff --git a/opendaylight/netconf/netconf-impl/src/main/java/org/opendaylight/controller/netconf/impl/util/DeserializerExceptionHandler.java b/opendaylight/netconf/netconf-impl/src/main/java/org/opendaylight/controller/netconf/impl/util/DeserializerExceptionHandler.java index 31c4d4f57e..e336914981 100644 --- a/opendaylight/netconf/netconf-impl/src/main/java/org/opendaylight/controller/netconf/impl/util/DeserializerExceptionHandler.java +++ b/opendaylight/netconf/netconf-impl/src/main/java/org/opendaylight/controller/netconf/impl/util/DeserializerExceptionHandler.java @@ -11,18 +11,15 @@ package org.opendaylight.controller.netconf.impl.util; import com.google.common.collect.Maps; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandlerContext; +import java.util.Map; import org.opendaylight.controller.netconf.api.NetconfDocumentedException; import org.opendaylight.controller.netconf.util.messages.SendErrorExceptionUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.util.Map; - -public final class - DeserializerExceptionHandler implements ChannelHandler { - - private static final Logger logger = LoggerFactory.getLogger(DeserializerExceptionHandler.class); +public final class DeserializerExceptionHandler implements ChannelHandler { + private static final Logger LOG = LoggerFactory.getLogger(DeserializerExceptionHandler.class); @Override public void handlerAdded(ChannelHandlerContext ctx) throws Exception { @@ -36,7 +33,7 @@ public final class @Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { - logger.warn("An exception occurred during message handling", cause); + LOG.warn("An exception occurred during message handling", cause); handleDeserializerException(ctx, cause); }