Examples of VirusDetectedException


Examples of org.zanata.exception.VirusDetectedException

        case noVirusFound:
            log.info("{} says file '{}' is clean: {}", SCANNER_NAME,
                    documentName, output);
            return;
        case virusFound:
            throw new VirusDetectedException(SCANNER_NAME + " detected virus: "
                    + output);
        case someErrorOccurred:
        default:
            // This can happen if clamdscan is found, but the clamd service is
            // not running.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.