Bug 1373 - Fixed NullPointerException on incorrect input 15/9115/2
authorMichal Polkorab <michal.polkorab@pantheon.sk>
Thu, 17 Jul 2014 10:21:38 +0000 (12:21 +0200)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Thu, 17 Jul 2014 12:49:08 +0000 (14:49 +0200)
commit4892efadc4ef9a61831828bddfe0e939b4334779
treea22b6fbed4bb4a47ec0842abbcedb33897dca3a7
parentaaa45cd667863c40ca9abd797a794f34c243310a
Bug 1373 - Fixed NullPointerException on incorrect input

 - now throws IllegalArgumentException. This is just logged and pushed into Future, the Future delegates the information further to upper ODL layers

Change-Id: I64ac1e4904e8837ab5b26572235bdaf5fac984da
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/connection/ChannelOutboundQueue.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/connection/MessageListenerWrapper.java [new file with mode: 0644]
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/OFEncoder.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/deserialization/DeserializerRegistryImpl.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/serialization/SerializerRegistryImpl.java
openflow-protocol-impl/src/test/java/org/opendaylight/openflowjava/protocol/impl/core/OFEncoderTest.java