public static void assertNotNullValue()

in src/main/java/com/epam/eco/commons/json/JsonDeserializerUtils.java [28:40]


    public static void assertNotNullValue(
            Object value,
            String fieldName,
            Class<?> targetType,
            DeserializationContext ctxt) throws JsonMappingException {
        Validate.notBlank(fieldName, "Field name can't be blank");
        Validate.notNull(targetType, "Target type can't be null");
        Validate.notNull(ctxt, "Deserialization context can't be null");

        if (value == null) {
            ctxt.reportInputMismatch(targetType, "Value of the '%s' field can't be null", fieldName);
        }
    }