thrownewAtlasBaseException(AtlasErrorCode.INSTANCE_CRUD_INVALID_PARAMS,"Use AtlasObjectId to refer to another instance instead of AtlasEntity "+type.getTypeName());
}else{
thrownewAtlasBaseException(AtlasErrorCode.INSTANCE_CRUD_INVALID_PARAMS,"Invalid object type "+entity.getClass());
}
...
...
@@ -155,25 +161,17 @@ public class AtlasEntityGraphDiscoveryV1 implements EntityGraphDiscovery {
* Bulk retrieval API for searching on entities by certain predefined attributes ( typeName, superType, name, qualifiedName etc) + optional user defined attributes