create_metadata($cur_record); $obj_node = new ANDS_TPA($outputObj, $metadata_node, $db); try { $obj_node->create_obj_node($setspec, $identifier); } catch (Exception $e) { echo 'Caught exception: ', $e->getMessage(), " when adding $identifier\n"; } }