Throwing exception if vulnerabilities are found