atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mad...@apache.org
Subject [1/2] incubator-atlas git commit: ATLAS-1660: Error code mismatch in while GETing a type that doesn't exist.
Date Fri, 24 Mar 2017 01:25:15 GMT
Repository: incubator-atlas
Updated Branches:
  refs/heads/0.8-incubating c81597edf -> 3c9c62206


ATLAS-1660: Error code mismatch in while GETing a type that doesn't exist.

Signed-off-by: Madhan Neethiraj <madhan@apache.org>
(cherry picked from commit ae6fd0a183b42ca7bbeea1a574da0d1d48b51b76)


Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/65990ce3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/65990ce3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/65990ce3

Branch: refs/heads/0.8-incubating
Commit: 65990ce37600a3c29a0ea59963c5d963cdd25ca1
Parents: c81597e
Author: Sarath Subramanian <ssubramanian@hortonworks.com>
Authored: Thu Mar 16 14:50:06 2017 -0700
Committer: Madhan Neethiraj <madhan@apache.org>
Committed: Thu Mar 23 18:25:05 2017 -0700

----------------------------------------------------------------------
 intg/src/main/java/org/apache/atlas/type/AtlasTypeRegistry.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/65990ce3/intg/src/main/java/org/apache/atlas/type/AtlasTypeRegistry.java
----------------------------------------------------------------------
diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasTypeRegistry.java b/intg/src/main/java/org/apache/atlas/type/AtlasTypeRegistry.java
index d40eb51..b6cb48d 100644
--- a/intg/src/main/java/org/apache/atlas/type/AtlasTypeRegistry.java
+++ b/intg/src/main/java/org/apache/atlas/type/AtlasTypeRegistry.java
@@ -100,7 +100,7 @@ public class AtlasTypeRegistry {
 
                 ret = new AtlasMapType(keyTypeName, valueTypeName, this);
             } else {
-                throw new AtlasBaseException(AtlasErrorCode.UNKNOWN_TYPENAME, typeName);
+                throw new AtlasBaseException(AtlasErrorCode.TYPE_NAME_NOT_FOUND, typeName);
             }
         }
 


Mime
View raw message