WrongAttributeAssignmentException is missing in javadoc of this method.