question: protected void requireArguments ( String ... names ) { StringBuilder missing = new StringBuilder ( ) ; for ( String name : names ) { if ( ! hasArgument ( name ) ) { if ( missing . length ( ) > 0 ) { missing . append ( ", " ) ; } missing . append ( name ) ; } } if ( missing . length ( ) > 0 ) { throw new CommandException ( "Missing required argument(s): " + missing ) ; } }
target:  Requires that the specified arguments are present.