protected String createErrorMessage(UploadedFile file, JSONObject json) {
        return MessageFactory.getMessage(FacesContext.getCurrentInstance(), "primefaces.fileupload.VIRUS_TOTAL_FILE", file.getFileName());
    }
Scan file using "/file/report" endpoint
@throws VirusException if a virus has been detected by the scanner
primefaces/src/main/java/org/primefaces/virusscan/impl/VirusTotalReportScanner.java