Lines Matching refs:error

211      * general to set the error location to the exact position of a component
212 * that is in error, so an error message must refer to the entire qualified
219 * All error messages are thus poorly localized. These checks should be
242 // Reported error location may be imprecise
244 error(where, "cant.access.class", def);
249 error(where, "ambig.class", ee.name1, ee.name2);
257 env.error(where, "class.and.package",
261 env.error(where, "io.exception", "package check");
263 // This error message is also emitted for 'new' expressions.
264 // error(where, "class.not.found", e.name, "declaration");
265 error(where, "class.not.found.no.context", e.name);
310 error(where, "cant.access.class", def);
314 error(where, "ambig.class", ee.name1, ee.name2);
322 env.error(where, "class.and.package",
326 env.error(where, "io.exception", "package check");
328 error(where, "class.not.found", e.name, "type name");
378 // Reported error location is imprecise.
379 env.error(where, "no.type.access", head, rdecl, ctxClass);
398 // Reported error location is imprecise.
399 env.error(where, "invalid.protected.type.use",
513 // find the error by calling env.resolve(name).
866 * Issue an error.
868 * offset - the offset in the source of the error
869 * err - the error number (as defined in this interface)
870 * arg1 - an optional argument to the error (null if not applicable)
871 * arg2 - a second optional argument to the error (null if not applicable)
872 * arg3 - a third optional argument to the error (null if not applicable)
874 public void error(Object source, long where, String err, Object arg1, Object arg2, Object arg3) {
875 env.error(source, where, err, arg1, arg2, arg3);
877 public final void error(long where, String err, Object arg1, Object arg2, Object arg3) {
878 error(source, where, err, arg1, arg2, arg3);
880 public final void error(long where, String err, Object arg1, Object arg2) {
881 error(source, where, err, arg1, arg2, null);
883 public final void error(long where, String err, Object arg1) {
884 error(source, where, err, arg1, null, null);
886 public final void error(long where, String err) {
887 error(source, where, err, null, null, null);
891 * Output a string. This can either be an error message or something