public void parseArgs(String[] args) {
        try {
            parseArgsNoExit(args);
        } catch (ParseException e1) {
            log.error(e1.getMessage() + " (See usage below)");
            this.printUsage();
            log.error(e1.getMessage() + " (See usage above)");
            System.exit(1);
        }
    }
public void parseArgs ( String [ ] args ) { try { parseArgsNoExit ( args ) ; } catch ( ParseException e1 ) { log . error ( e1 . getMessage ( ) + " (See usage below)" ) ; this . printUsage ( ) ; log . error ( e1 . getMessage ( ) + " (See usage above)" ) ; System . exit ( 1 ) ; } }
Parses the command line arguments and sets any of public static fields annotated with @Opt
that have been registered with this {@link ArgParser} via {@link #registerClass(Class)}.

If a parser error occurs, the error is logged, the usage is printed, and System.exit(1) is called.

See also {@link #parseArgsNoExit(String[])}.