public static UUID parseStringAsUUID(String in) throws IndexParseFieldException {
  try {
    return UUID.fromString(in);
  }
 catch (  IllegalArgumentException e) {
    throw new IndexParseFieldException(in,e);
  }
}

public static UUID parseStringAsUUID ( String in ) throws IndexParseFieldException { try { return UUID . fromString ( in ) ; } catch ( IllegalArgumentException e ) { throw new IndexParseFieldException ( in , e ) ; } }
parses a string as a uuid .
