Lines Matching refs:BadArgs
93 public class BadArgs extends Exception {
95 BadArgs(String key, Object... args) {
101 BadArgs showUsage(boolean b) {
133 abstract void process(JavahTask task, String opt, String arg) throws BadArgs;
267 } catch (BadArgs e) {
337 } catch (BadArgs e) {
350 public void handleOptions(String[] args) throws BadArgs {
354 private void handleOptions(Iterable<String> args, boolean allowClasses) throws BadArgs {
381 throw new BadArgs("err.unknown.option", arg).showUsage(true);
386 throw new BadArgs("err.no.classes.specified");
390 throw new BadArgs("jni.llni.mixed");
393 throw new BadArgs("dir.file.mixed");
396 private void handleOption(String name, Iterator<String> rest) throws BadArgs {
403 throw new BadArgs("err.missing.arg", name).showUsage(true);
418 throw new BadArgs("err.unknown.option", name).showUsage(true);
421 private Iterable<String> expandAtArgs(Iterable<String> args) throws BadArgs {
427 throw new BadArgs("at.args.file.not.found", e.getLocalizedMessage());
429 throw new BadArgs("at.args.io.exception", e.getLocalizedMessage());
459 // throw new BadArgs("jni.no.stubs");