@Override
    public String getMessage() {
        final StringBuilder stringBuilder = new StringBuilder("Ambiguous Node: ")
                .append(this.ambiguousNode.component().name())
                .append(" cannot be added as a child to ")
                .append(this.parentNode == null ? "<root>" : this.parentNode.component().name())
                .append(" (All children: ");
        final Iterator<CommandNode<?>> childIterator = this.children.iterator();
        while (childIterator.hasNext()) {
            stringBuilder.append(childIterator.next().component().name());
            if (childIterator.hasNext()) {
                stringBuilder.append(", ");
            }
        }
        return stringBuilder.append(")")
                .toString();
    }
Returns all children of the parent.

@return child nodes
cloud-core/src/main/java/org/incendo/cloud/exception/AmbiguousNodeException.java