question: public static void handleErrorViolations ( Formatter formatter , long numErrors ) { ExitCode exitCode = formatter . getExitStatus ( numErrors ) ; if ( exitCode != ExitCode . SUCCESS ) { System . exit ( exitCode . ordinal ( ) ) ; } }
target:  Non-zero exit status when any violation messages have Severity.ERROR, controlled by --max-severity