def get_possible_successor_present_in_node_ids_or_raise_excp(poissible_successors_node_id, nodes_ids):
possible_successor_set = get_possible_successors_set_present_in_node_ids(poissible_successors_node_id, nodes_ids)<EOL>if len(possible_successor_set) != <NUM_LIT:1>:<EOL><INDENT>raise bpmn_exception.BpmnPythonError("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>return possible_successor_set.pop()<EOL><DEDENT>
:param poissible_successors_node_id:
:param nodes_ids:
:return: