code: public static TaskAttemptID forName(String str
                                        ) throws IllegalArgumentException {
      return (TaskAttemptID) 
               org.apache.hadoop.mapreduce.TaskAttemptID.forName(str);
    }
docs: Construct a TaskAttemptID object from given string
  @return constructed TaskAttemptID object or null if the given String is null
  @throws IllegalArgumentException if the given string is malformed