public static JobId fromString(final String id) {
    try {
      return parse(id);
    } catch (JobIdParseException e) {
      throw new IllegalArgumentException(e);
    }
  }
public static JobId fromString ( final String id ) { try { return parse ( id ) ; } catch ( JobIdParseException e ) { throw new IllegalArgumentException ( e ) ; } }
Parse a job id string.

<p>This parsing method can be used when input is trusted, i.e. failing to parse it indicates
programming error and not bad input.

@param id A string representation of the job ID.

@return The JobId object.

@see #parse(String)