Searched defs:error (Results 276 - 300 of 394) sorted by relevance

<<111213141516

/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/resources/
H A Djconsole.js36 * input validation and proper error handling, might not be present in
707 * Shows an error alert box
712 function error(msg, title) { function
716 error.docString = "shows an error message box to the user";
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/
H A DResult.java36 * input validation and proper error handling, might not be present in
247 Throwable error; field in class:Result
277 this.error = t;
285 return error;
419 if (error != null) {
420 System.out.println(test+" skipped due to "+error);
421 error.printStackTrace(System.out);
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DThrowingTasks.java97 static final Error error = new Error(); field in class:ThrowingTasks
110 static final Thrower errorThrower = new Thrower(error);
/openjdk7/jdk/test/java/util/zip/
H A Dzip.java131 throw new IOException(getMsg("error.write.file"));
182 fatalError(formatMsg("error.cant.open", e.getMessage()));
234 error(formatMsg("error.illegal.option",
245 error(getMsg("error.bad.option"));
283 error(getMsg("error.bad.uflag"));
317 error(formatMsg("error
676 protected void error(String s) { method in class:zip
[all...]
/openjdk7/jdk/test/sun/java2d/pipe/
H A DRegionOps.java61 public static void usage(String error) { argument
62 if (error != null) {
63 System.err.println("Error: "+error);
73 System.exit((error != null) ? 1 : 0);
76 public static void error(RectListImpl a, RectListImpl b, String problem) { method in class:RegionOps
216 error(a, b, "hashcode failed for "+optype);
219 error(a, b, "equals failed for "+optype);
229 error(maxTrans, null, "overflow translated RectList not empty");
236 error(minTrans, null, "overflow translated RectList not empty");
268 error(
[all...]
/openjdk7/jdk/src/share/classes/sun/management/
H A DAgent.java103 error(INVALID_OPTION, name);
154 // to instrumentation buffer - non-fatal error.
268 error(e.getError(), e.getParams());
270 error(e);
422 error(CONFIG_FILE_NOT_FOUND, fname);
431 error(CONFIG_FILE_OPEN_FAILED, e.getMessage());
433 error(CONFIG_FILE_OPEN_FAILED, e.getMessage());
435 error(CONFIG_FILE_ACCESS_DENIED, fname);
441 error(CONFIG_FILE_CLOSE_FAILED, fname);
464 error(AGENT_CLASS_INVALI
497 public static void error(String key) { method in class:Agent
503 public static void error(String key, String[] params) { method in class:Agent
516 public static void error(String key, String message) { method in class:Agent
523 public static void error(Exception e) { method in class:Agent
[all...]
H A DAgentConfigurationError.java87 "agent.err.connector.server.io.error";
113 private final String error; field in class:AgentConfigurationError
116 public AgentConfigurationError(String error) { argument
118 this.error = error;
122 public AgentConfigurationError(String error, Throwable cause) { argument
124 this.error = error;
128 public AgentConfigurationError(String error, String... params) { argument
130 this.error
137 AgentConfigurationError(String error, Throwable cause, String... params) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DChunkedInputStream.java117 * Indicates if an error was encountered when processing the chunked
120 private boolean error; field in class:ChunkedInputStream
211 * stream can be completely read without error.
218 if (!error && state == STATE_DONE) {
246 error = true;
256 error = true;
299 error = true;
318 error = true;
404 error = true;
408 error
[all...]
/openjdk7/jdk/src/share/classes/sun/reflect/generics/parser/
H A DSignatureParser.java56 // if (current != x {error("expected an x");
64 // invalid, the parser should flag an error in accordance
118 // Error handling routine. Encapsulates error handling.
119 // Takes a string error message as argument.
122 private Error error(String errorMsg) { method in class:SignatureParser
124 System.out.println("Signature Parse error: " + errorMsg +
135 throw error("Failure to make progress!");
234 if (current() != '<') { throw error("expected '<'");}
298 throw error("Array signature not allowed here.");
299 default: throw error("Expecte
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/
H A DMain.java93 * The stream where error message are printed.
116 * Top level error message. This method is called when the
119 public void error(String msg) { method in class:Main
123 public void error(String msg, String arg1) { method in class:Main
127 public void error(String msg, String arg1, String arg2) { method in class:Main
135 error("rmic.usage", program);
201 error("rmic.cant.read", e.getMessage());
246 error("rmic.option.unsupported", "-show");
252 error("rmic.option.already.seen", "-classpath");
260 error("rmi
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/newrmic/
H A DMain.java52 * A Main instance contains the stream to output error messages and
110 /** stream to output error messages and other diagnostics to */
113 /** name of this program, to use in error messages */
126 * stream. The specified program name is used in error messages.
138 * true if successful, or false if an error occurred.
154 return false; // terminate if error occurred
188 * Prints an error message to the output stream of this Main
193 public void error(String msg, String... args) { method in class:Main
205 error("rmic.usage", program);
211 * if an error occurre
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLSurfaceData.c325 GLenum error, status; local
335 // creation of depth buffer could potentially fail, so check for error
336 error = j2d_glGetError();
337 if (error != GL_NO_ERROR) {
339 "OGLSD_InitFBObject: could not create depth buffer: depth=%d error=%x",
340 depthSize, error);
/openjdk7/langtools/test/tools/javac/api/
H A DTestContainTypes.java172 private void error(String msg) { method in class:TestContainTypes.ContainTypesTester
183 error("no anno found/wrong number of annotations found: " + annotations.size());
188 error("no annotated element found/wrong number of annotated elements found: " + annoElems.size());
192 error("annotated element must be a method");
196 error("annotated method must have 2 arguments");
202 error("parameter type must be generic in one type-variable");
208 error("bad type containment result\n" +
/openjdk7/langtools/test/tools/javac/diags/
H A DRunExamples.java125 error("unknown option: " + arg);
149 error("Key " + k + ": no examples found");
168 error("Error writing output: " + e);
192 * Report an error.
194 void error(String msg) { method in class:RunExamples
/openjdk7/langtools/test/tools/javac/processing/
H A DT6920317.java82 error("Exception " + e);
327 /** Report an error. */
328 void error(String msg) { method in class:T6920317
374 error("Cannot create package-info file: " + e);
393 error("Wrong number of annotations found: (" + annos.size() + ") " + annos);
413 error("Error reading file: " + e);
419 error("Error closing file: " + e);
433 error("Error writing file: " + e);
439 error("Error closing file: " + e);
445 /** Check two strings are equal, and report an error i
453 void error(String msg) { method in class:T6920317.Processor
[all...]
H A DTestWarnErrorCount.java47 final int ERROR_ROUND = MAX_GEN / 2; // when to generate error
186 } else if (line.matches("[0-9]+ error(?:s?)")) {
187 errsReported = Integer.valueOf(line.substring(0, line.indexOf("error")).trim());
281 error("number of " + l1 + " found, " + i1 + ", does not match number " + l2 + ", " + i2);
285 void error(String msg) { method in class:TestWarnErrorCount
324 void generate(String name, boolean error, boolean warn) { argument
331 + (error ? " ERROR\n" : "")
/openjdk7/langtools/test/tools/javac/processing/errors/
H A DTestSuppression.java77 error("caught: " + t);
133 error("Unexpected value for " + dk + ": expected: " + expect + " found: " + found);
161 void error(String msg) { method in class:TestSuppression
/openjdk7/langtools/test/tools/javac/processing/model/util/elements/doccomments/
H A DTestDocComments.java65 error(e.toString());
101 error(diagnostic.toString());
125 error("Compilation failed: rc=" + rc);
128 static void error(String msg) { method in class:TestDocComments
/openjdk7/langtools/test/tools/javac/scope/7046348/
H A DEagerInterfaceCompletionTest.java67 error("Unexpected completion failure" +
72 error("Missing completion failure " +
89 error("Internal compilation error");
96 error("Expected file " + classToRemove + " does not exists in folder " + testDir);
101 void error(String msg) { method in class:EagerInterfaceCompletionTest
/openjdk7/langtools/test/tools/javac/scope/
H A DStarImportTest.java102 * Write an error message to stderr.
104 void error(String msg) { method in class:StarImportTest
339 error("no entries for " + sym.name + " found in reference model");
345 error(sym.name + " not found in reference model");
370 error("check: no entries found for " + sym.name + ":" + sym + " in reference map");
372 error("check: symbol " + sym.name + ":" + sym + " not found in reference map");
386 error("check: no entries found for " + name + " in scope");
395 error("check: symbol " + sym + " not found in scope");
/openjdk7/langtools/test/tools/javac/types/
H A DTypeHarness.java100 error(s + msg + t);
115 error(s + msg + t);
130 error(s + msg + t);
145 error(s + msg + t);
160 error(s + msg + t);
175 error(t + msg + " " + t.tsym.type);
180 private void error(String msg) { method in class:TypeHarness
/openjdk7/langtools/test/tools/javac/varargs/warning/
H A DWarn4.java46 final static Warning[] error = null; field in class:Warn4
133 new Warning[][] {none, none, none, none, error}),
135 new Warning[][] {both, both, error, both, error}),
139 new Warning[][] {error, error, error, both, error}),
141 new Warning[][] {error, error, erro
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DXPathParser.java852 /** <code>error</code> Symbol index. */
1070 public final void addError(ErrorMsg error) { argument
1071 _parser.reportError(Constants.ERROR, error);
2785 // TODO: report error if axis is attribute
2803 RESULT = pip; // TODO: report error if axis is attribute
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/compiler/
H A DCompiler.java99 * Construct a Compiler instance that has a null error listener and a
113 * @throws TransformerException if there is a syntax or other error.
188 error(XPATHErrorResources.ER_UNKNOWN_OPCODE,
192 error(XPATHErrorResources.ER_UNKNOWN_OPCODE,
209 * @throws TransformerException if there is a syntax or other error.
231 * @throws TransformerException if syntax or other error occurs.
251 * @throws TransformerException if a error occurs creating the Expression.
265 * @throws TransformerException if a error occurs creating the Expression.
279 * @throws TransformerException if a error occurs creating the Expression.
293 * @throws TransformerException if a error occur
1213 public void error(String msg, Object[] args) throws TransformerException method in class:Compiler
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/objects/
H A DXObject.java231 * Cast result object to a number. Always issues an error.
240 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NUMBER,
259 * Cast result object to a boolean. Always issues an error.
268 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NUMBER,
405 * Cast result object to a nodelist. Always issues an error.
414 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NODELIST,
432 * Cast result object to a nodelist. Always issues an error.
441 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NODELIST,
448 * Cast result object to a nodelist. Always issues an error.
457 error(XPATHErrorResource
684 protected void error(String msg) method in class:XObject
699 protected void error(String msg, Object[] args) method in class:XObject
[all...]

Completed in 96 milliseconds

<<111213141516