BUG-4862: catch ClassCastException 97/39097/1
authorRobert Varga <rovarga@cisco.com>
Wed, 27 Jan 2016 14:21:03 +0000 (15:21 +0100)
committerShuva Jyoti Kar <shuva.jyoti.kar@ericsson.com>
Thu, 19 May 2016 09:30:15 +0000 (09:30 +0000)
commit0694052df727929d33bdce6974191fb79088cb2c
treef5740f46f549a7b00f52427adc2ca89d920855c5
parent7b63f30a8fb6f192c10803af2949a55a9d5777bf
BUG-4862: catch ClassCastException

When the looked up serializer does not implement the expected
HeaderDesersializer interface we end up with a ClassCastException. Catch
it, issue a warning and continue.

Change-Id: I70f23733078710507bdc65931e41c1bd02c0684f
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit b80a043a43abc0948378f2d8cbb5a3b819a1f3bc)
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/util/ListDeserializer.java