Searched defs:error (Results 126 - 150 of 394) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest9.java44 static boolean error = false; field in class:Test9
69 error = false;
91 if (error) {
92 throw new RuntimeException ("error");
180 error = true;
186 error = true;
H A DTest9a.java44 static boolean error = false; field in class:Test9a
64 error = false;
86 if (error) {
87 throw new RuntimeException ("error");
173 error = true;
179 error = true;
/openjdk7/jdk/test/demo/jvmti/
H A DDemoRun.java95 private MyInputStream error; field in class:DemoRun
208 error = new MyInputStream("Error Stream", p.getErrorStream());
215 error.dump(System.out);
230 return output.contains(pattern) || error.contains(pattern);
/openjdk7/jdk/test/java/beans/Introspector/
H A DTest4168833.java47 error(ipd, "Base.prop property should a Dimension");
60 error(pd, type.getSimpleName() + ".prop should not be an indexed property");
63 error(pd, type.getSimpleName() + ".prop type should be a Color");
66 error(pd, type.getSimpleName() + ".prop should have classic read method");
69 error(pd, type.getSimpleName() + ".prop should have classic write method");
73 private static void error(PropertyDescriptor pd, String message) { method in class:Test4168833
/openjdk7/jdk/test/java/nio/charset/coders/
H A DCheck.java82 private void error() { method in class:Check
95 error();
108 error();
142 throw new RuntimeException(errors + " error(s) occurred");
/openjdk7/jdk/src/share/classes/sun/security/krb5/
H A DKrbException.java42 private KRBError error; field in class:KrbException
59 error = e;
65 error = e;
69 return error;
108 * If the error code is 0 then the first half is skipped.
133 if (error != null) {
134 result = 37 * result + error.hashCode();
152 return (error == null)?(other.error == null):
153 (error
[all...]
/openjdk7/jdk/test/java/util/ResourceBundle/Control/
H A DControlFactoryTest.java63 throw new RuntimeException("FAILED: " + errors + " error(s)");
85 error("getControl: %s%n", fmt);
93 error("%s: doesn't throw NPE.%n", factory.name());
105 error("%s: returns %s, expected %s.%n",
115 error("%s: doesn't return the singleton: got %s, expected %s%n",
127 error("%s: getFallbackLocale doesn't return default locale. got %s, expected %s%n",
132 error("%s: getFallbackLocale doesn't return null. got %s%n",
139 error("%s: getFallbackLocale doesn't return null. got %s%n",
144 error("%s: getFallbackLocale doesn't return null. got %s%n",
156 private static void error(Strin method in class:ControlFactoryTest
161 private static void error(String fmt, Object... args) { method in class:ControlFactoryTest
[all...]
H A DLoadingStrategiesTest.java71 throw new RuntimeException("FAILED: " + errors + " error(s)");
77 error("%s: got \"%s\", expected \"%s\"%n", msg, got, expected);
148 private static void error(String msg) { method in class:LoadingStrategiesTest
153 private static void error(String fmt, Object... args) { method in class:LoadingStrategiesTest
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftCubicResampler/
H A DInterpolate.java96 private static void fail(String error) throws Exception argument
98 throw new RuntimeException(error);
105 fail("Interpolation failed, error="+max);
108 fail("Interpolation failed, error="+max);
111 fail("Interpolation failed, error="+max);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLanczosResampler/
H A DInterpolate.java96 private static void fail(String error) throws Exception argument
98 throw new RuntimeException(error);
105 fail("Interpolation failed, error="+max);
108 fail("Interpolation failed, error="+max);
111 fail("Interpolation failed, error="+max);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLinearResampler/
H A DInterpolate.java96 private static void fail(String error) throws Exception argument
98 throw new RuntimeException(error);
105 fail("Interpolation failed, error="+max);
108 fail("Interpolation failed, error="+max);
111 fail("Interpolation failed, error="+max);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLinearResampler2/
H A DInterpolate.java96 private static void fail(String error) throws Exception argument
98 throw new RuntimeException(error);
105 fail("Interpolation failed, error="+max);
108 fail("Interpolation failed, error="+max);
111 fail("Interpolation failed, error="+max);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftPointResampler/
H A DInterpolate.java96 private static void fail(String error) throws Exception argument
98 throw new RuntimeException(error);
105 fail("Interpolation failed, error="+max);
108 fail("Interpolation failed, error="+max);
111 fail("Interpolation failed, error="+max);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftSincResampler/
H A DInterpolate.java96 private static void fail(String error) throws Exception argument
98 throw new RuntimeException(error);
105 fail("Interpolation failed, error="+max);
108 fail("Interpolation failed, error="+max);
111 fail("Interpolation failed, error="+max);
/openjdk7/jdk/test/javax/swing/MultiUIDefaults/
H A DTest6860438.java63 boolean present, String error) {
70 check(found == present, error);
62 checkEnumeration(Enumeration<Object> e, Object elem, boolean present, String error) argument
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/
H A DTestLogger.java94 public void error(String func, String msg) { method in class:TestLogger
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/newrmic/
H A DBatchEnvironment.java46 * activity should be reported through the BatchEnvironment's "error"
132 * Outputs the specified (non-error) message.
139 * Reports an error using the specified resource key and text
142 public void error(String key, String... args) { method in class:BatchEnvironment
/openjdk7/langtools/test/tools/javac/api/
H A DTestDocComments.java68 error("Unexpected number of doc comments found: " + n);
129 error("no doc comment for " + k);
131 error("unexpected doc comment for " + k + "\nexpect: " + expect + "\nfound: " + dc);
145 * method-error.
147 void error(String msg) { method in class:TestDocComments
/openjdk7/langtools/test/tools/javac/diags/
H A DCheckExamples.java71 error("Example " + e + " declares key " + k + " but does not generate it");
75 error("Example " + e + " generates key " + k + " but does not declare it");
79 error("Example " + e + " declares key " + k + " which is also on the \"not yet\" list");
90 error("Key " + dk + " is declared in tests but is not a valid key in resource bundle");
95 error("Key " + nk + " is declared in not-yet list but is not a valid key in resource bundle");
100 error("Key " + rk + " is declared in resource bundle but is not in tests or not-yet list");
183 * Report an error.
185 void error(String msg) { method in class:CheckExamples
/openjdk7/langtools/test/tools/javac/nio/compileTest/
H A DCompileTest.java162 void error(String message) { method in class:CompileTest
/openjdk7/langtools/test/tools/javadoc/6227454/
H A DTest.java91 error("unexpected exit from javadoc; rc:" + rc);
94 error("expected error text not found: " + expectError);
121 void error(String msg) { method in class:Test
/openjdk7/langtools/test/tools/javadoc/6958836/
H A DTest.java104 error("incorrect number of matches found: " + foundCount
113 void error(String msg) { method in class:Test
/openjdk7/langtools/test/tools/javah/4942232/
H A DTest.java27 * @summary missing param class processes without error
90 error("Unexpected return code: " + rc + "; expected: " + expect);
135 void error(String msg) { method in class:Test
/openjdk7/langtools/test/tools/javah/6572945/
H A DT6572945.java126 error("javah failed: rc=" + rc);
137 error("javah threw exception");
158 error("javah: exit code " + rc);
197 error("Files differ: " + f1p + " " + f2p);
201 error("Only in " + f1 + ": " + p);
203 error("Only in " + f2 + ": " + p);
205 error("Files differ: " + f1p + " " + f2p);
226 error("error reading " + f + ": " + e);
232 private void error(Strin method in class:T6572945
[all...]
/openjdk7/langtools/test/tools/javap/
H A DT4501661.java105 error("javap failed unexpectedly; rc=" + rc + "\n" + sw);
108 error("javap succeeded unexpectedly");
116 error("\"" + word + "\" unexpectedly found in output");
120 void error(String msg) { method in class:T4501661
121 System.err.println("error: " + msg);

Completed in 114 milliseconds

1234567891011>>