Fix checkstyle in mdsal-binding2-dom-codec
[mdsal.git] / binding2 / mdsal-binding2-dom-codec / src / main / java / org / opendaylight / mdsal / binding / javav2 / dom / codec / impl / context / UnionValueOptionContext.java
index 9daf43edfa140068320930835189c248426ee93c..6b143066ccd1e559c607032bc14542efcd172084 100644 (file)
@@ -87,6 +87,7 @@ public class UnionValueOptionContext {
      *            - input object for deserializing
      * @return deserialized union binding type object
      */
+    @SuppressWarnings("checkstyle:illegalCatch")
     public Object deserializeUnion(final Object input) {
         // Side-step potential exceptions by checking the type if it is available
         if (codec instanceof EncapsulatedValueCodec && !((EncapsulatedValueCodec) codec).canAcceptObject(input)) {
@@ -112,6 +113,7 @@ public class UnionValueOptionContext {
         }
     }
 
+    @SuppressWarnings("checkstyle:illegalCatch")
     private Object getValueFrom(final Object input) {
         try {
             return getter.invokeExact(input);