return UUID.fromString(UUID_PATTERN.matcher(string).replaceAll("$1-$2-$3-$4-$5"));
}
}
private static DataTypeException fail(Object from, Class<?> toClass) {
return new DataTypeException("Cannot convert from " + from + " (" + from.getClass() + ") to " + toClass);
}