Create an element with the given nameparamname the element nbamethrowsBuildException when any error occursreturnthe element created