Searched refs:Error (Results 101 - 125 of 1673) sorted by relevance

1234567891011>>

/openjdk10/langtools/test/tools/javac/
H A DStringConversion2.java37 throw new Error("test failed");
/openjdk10/langtools/test/tools/javac/generics/rawSeparate/
H A DHashtable.java27 throw new Error();
/openjdk10/nashorn/test/script/basic/
H A DJDK-8047359.js33 throw new Error("should have thrown RangeError!");
42 throw new Error("should have thrown RangeError!");
H A DNASHORN-164.js36 throw Error("expected '{\"foo\":22}' got " + JSON.stringify(obj));
H A DJDK-8014781.js25 * JDK-8014781: support Error.captureStackTrace
32 Error.captureStackTrace(this);
H A DJDK-8044695.js25 * JDK-8044695: __stack__ becomes visible in Error properties
31 var e = new Error();
H A DJDK-8019226.js33 function func2() { throw new Error("failed!") }
H A DJDK-8017950.js33 throw new Error();
/openjdk10/nashorn/samples/
H A Dundefined_call.js40 print(new Error().stack);
/openjdk10/hotspot/src/share/vm/runtime/
H A DcommandLineFlagRangeList.hpp55 virtual Flag::Error check(bool verbose = true) { ShouldNotReachHere(); return Flag::ERR_OTHER; }
56 virtual Flag::Error check_int(int value, bool verbose = true) { ShouldNotReachHere(); return Flag::ERR_OTHER; }
57 virtual Flag::Error check_intx(intx value, bool verbose = true) { ShouldNotReachHere(); return Flag::ERR_OTHER; }
58 virtual Flag::Error check_uint(uint value, bool verbose = true) { ShouldNotReachHere(); return Flag::ERR_OTHER; }
59 virtual Flag::Error check_uintx(uintx value, bool verbose = true) { ShouldNotReachHere(); return Flag::ERR_OTHER; }
60 virtual Flag::Error check_uint64_t(uint64_t value, bool verbose = true) { ShouldNotReachHere(); return Flag::ERR_OTHER; }
61 virtual Flag::Error check_size_t(size_t value, bool verbose = true) { ShouldNotReachHere(); return Flag::ERR_OTHER; }
62 virtual Flag::Error check_double(double value, bool verbose = true) { ShouldNotReachHere(); return Flag::ERR_OTHER; }
/openjdk10/hotspot/test/sanity/MismatchedWhiteBox/
H A DWhiteBox.java46 throw new Error("wb.getHeapOopSize() < 0");
55 throw new Error("wb.notExistedMethod() was invoked");
/openjdk10/jdk/src/java.management/share/classes/javax/management/remote/
H A DJMXServerErrorException.java36 * method invocation when an <code>Error</code> is thrown while
39 * <code>Error</code> that occurred as its cause.
57 public JMXServerErrorException(String s, Error err) {
67 * @serial An {@link Error} that caused this exception to be thrown.
70 private final Error cause;
/openjdk10/jdk/test/java/io/Serializable/unresolvedClassDesc/
H A DRead.java42 throw new Error("read of Foo instance succeeded");
47 throw new Error("indirect read of Foo instance succeeded");
/openjdk10/jdk/test/java/beans/PropertyEditor/
H A DTest4968709.java39 throw new Error("found unexpected editor");
43 throw new Error("expected editor is not found");
/openjdk10/jdk/test/java/beans/Statement/
H A DTest4530962.java41 throw new Error("exception expected");
47 throw new Error("unexpected exception", exception);
64 throw new Error("A.m(X,X) should not be called");
68 throw new Error("A.m(X,Y) should not be called");
72 throw new Error("A.m(Y,X) should not be called");
81 throw new Error("B.m(X,X) should not be called");
98 throw new Error("C.m(X,X) should not be called");
107 throw new Error("D.m(X,X) should not be called");
H A DTest6707226.java39 throw new Error("the value is updated unexpectedly");
43 throw new Error("the value is not updated as expected");
/openjdk10/jdk/test/java/beans/XMLDecoder/spec/
H A DTestJava.java57 throw new Error("owner should be the same");
60 throw new Error("owner's method is not called");
H A DTestChar.java46 throw new Error("unexpected character");
49 throw new Error("unexpected character code");
H A DTestBoolean.java46 throw new Error("true expected");
49 throw new Error("false expected");
/openjdk10/jdk/test/java/lang/instrument/PremainClass/
H A DInheritAgent1110.java57 throw new Error("ERROR: THIS AGENT SHOULD NOT HAVE BEEN CALLED.");
66 throw new Error("ERROR: THIS AGENT SHOULD NOT HAVE BEEN CALLED.");
/openjdk10/jdk/test/java/beans/Beans/6669869/
H A DTestDesignTime.java36 throw new Error("unexpected DesignTime property");
47 throw new Error("shared DesignTime property");
/openjdk10/jdk/test/java/beans/Beans/
H A DTest4343723.java43 throw new Error("unexpected exception", exception);
46 throw new Error("unexpected exception", exception);
/openjdk10/jdk/test/java/beans/XMLEncoder/
H A Djava_lang_reflect_Field.java45 throw new Error("unexpected exception", exception);
53 throw new Error("unexpected exception", exception);
H A Djava_lang_reflect_Method.java42 throw new Error("unexpected exception", exception);
50 throw new Error("unexpected exception", exception);
H A Djava_net_URI.java43 throw new Error("unexpected exception", exception);
51 throw new Error("unexpected exception", exception);

Completed in 165 milliseconds

1234567891011>>