Raise an exception if the placeholder doesn't have a substitution