private static <T> T create(final Constructor<T> ctor, final Object[] args) {
		try {
			return ctor.newInstance(args);
		} catch (InvocationTargetException e) {
			if (e.getCause() instanceof RuntimeException rte) {
				throw rte;
			} else if (e.getCause() instanceof Error error) {
				throw error;
			} else {
				throw new RuntimeException(e.getCause());
			}
		} catch (InstantiationException|IllegalAccessException e) {
			throw new IllegalArgumentException(e);
		}
	}
Creates a new record constructor for the given record {@code type} and
{@code converter}.

@param type the record type
@param converter the converter to use for converting the string
       columns of the CSV row
@return a new row-parser for the given record {@code type}
@param <T> the record type
jenetics.incubator/src/main/java/io/jenetics/incubator/csv/RecordCtor.java