ATLAS-1470: fixed validation of byte-type tag attributes, to handle exception

Signed-off-by: Madhan Neethiraj <madhan@apache.org>
diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasBuiltInTypes.java b/intg/src/main/java/org/apache/atlas/type/AtlasBuiltInTypes.java
index 2c80aa3..f08a601 100644
--- a/intg/src/main/java/org/apache/atlas/type/AtlasBuiltInTypes.java
+++ b/intg/src/main/java/org/apache/atlas/type/AtlasBuiltInTypes.java
@@ -105,7 +105,11 @@
                     String strValue = obj.toString();
 
                     if (StringUtils.isNotEmpty(strValue)) {
-                        return Byte.valueOf(strValue);
+                        try {
+                            return Byte.valueOf(strValue);
+                        } catch(NumberFormatException excp) {
+                            // ignore
+                        }
                     }
                 }
             }