protected void validateResultsDirectories ( ) { for ( String result : results ) { if ( Files . notExists ( Paths . get ( result ) ) ) { throw new AllureCommandException ( String . format ( "Report directory <%s> not found." , result ) ) ; } } }
Throws an exception if at least one results directory is missing .