Lines Matching refs:error

58      * The stream where error message are printed.
80 public static final int EXIT_SYSERR = 3; // System error or resource exhaustion.
108 * Top level error message. This method is called when the
111 private void error(String msg) {
116 private void error(String msg, String arg1) {
121 private void error(String msg, String arg1, String arg2) {
127 * Print usage message and make exit status an error.
129 * be an error.
132 error("main.usage", program);
230 error("javac.err.cant.read", e.getMessage());
241 error("main.conflicting.options", prior_g, "-g");
248 error("main.conflicting.options", prior_g, "-g:none");
260 error("main.conflicting.options", prior_g, argv[i]);
277 error("main.bad.debug.option",argv[i]);
290 error("main.conflicting.options", prior_O, "-O");
303 error("main.option.already.seen","-classpath");
307 error("main.option.requires.argument","-classpath");
314 error("main.option.already.seen","-sourcepath");
318 error("main.option.requires.argument","-sourcepath");
325 error("main.option.already.seen","-sysclasspath");
329 error("main.option.requires.argument","-sysclasspath");
336 error("main.option.already.seen","-bootclasspath");
340 error("main.option.requires.argument","-bootclasspath");
347 error("main.option.already.seen","-extdirs");
351 error("main.option.requires.argument","-extdirs");
358 error("main.option.already.seen","-encoding");
361 error("main.option.requires.argument","-encoding");
368 error("main.option.already.seen","-target");
379 error("main.unknown.release",targetArg);
384 error("main.option.requires.argument","-target");
391 error("main.option.already.seen","-d");
394 error("main.no.such.directory",destDir.getPath());
399 error("main.option.requires.argument","-d");
419 error("main.conflicting.options", prior_O, "-XO");
424 error("main.conflicting.options", prior_O, "-Xinterclass");
450 error("main.unsupported.usage");
463 error("main.no.such.option",argv[i]);
493 // Preload the "out of memory" error string just in case we run
498 env.error(0, "warn.class.is.deprecated", "sun.tools.javac.Main");
507 env.error(0, "cant.read", file.getPath());
575 env.dtEvent("Main.compile (CHECKED): bailing out on error, " + c);
608 env.error(0, "cant.write", classfile.getPath());
626 env.error(0, "cant.write", file.getPath());
638 // The compiler has run out of memory. Use the error string
649 // error has previously been detected. Presumably, this makes the
650 // compiler more robust in the face of bad error recovery.
653 env.error(0, "fatal.error");
659 env.error(0, "fatal.exception");
670 env.error(0, "warn.note.deprecations",
673 env.error(0, "warn.note.1deprecation",
678 env.error(0, "warn.note.deprecations.silent",
681 env.error(0, "warn.note.1deprecation.silent",
696 msg = getText("main.1error");