public Identifiable get() {
                Identifiable obj = null;
                if (constructor != null) {
                    try {
                        obj = constructor.newInstance();
                    } catch (InvocationTargetException | InstantiationException | IllegalAccessException e) {
                        throw new IllegalArgumentException("Failed to create object from class '" +
                                constructor.getName() + "'.", e);
                    }
                }
                return obj;
            }
Creates an instance of a given class specification. All instantiation-type exceptions are consumed and
wrapped inside a runtime exception so that calling methods can let this propagate without declaring them
thrown.
vespajlib/src/main/java/com/yahoo/vespa/objects/Identifiable.java