public static void ensureNotNull(String argumentDescription, Object argument) {
        if (argument == null)
            throw new NullPointerException(argumentDescription + " can not be null");
    }
Throws NullPointerException if the argument is null
vespajlib/src/main/java/com/yahoo/protect/Validator.java