Searched refs:RuntimeException (Results 76 - 100 of 5938) sorted by relevance

1234567891011>>

/openjdk10/langtools/test/tools/javac/multicatch/
H A DPos12.java34 * RuntimeException
54 throw new RuntimeException("FAIL: Should not be caught in catch Ac");
58 throw new RuntimeException("FAIL: Sibling exception Ab not caught as expected");
68 static class A extends RuntimeException {}
/openjdk10/jdk/test/javax/xml/jaxp/XPath/8035577/
H A DRegex.java49 throw new RuntimeException ("Xerces XPath Regex: " +
64 throw new RuntimeException("Xerces XPath Regex Error: " +
69 throw new RuntimeException("Xerces XPath Regex Error: " +
78 throw new RuntimeException("Xerces XPath Regex Error: " +
83 throw new RuntimeException("Xerces XPath Regex Error: " +
92 throw new RuntimeException("Xerces XPath Regex Error: " +
97 throw new RuntimeException("Xerces XPath Regex Error: " +
105 throw new RuntimeException("Xerces XPath Regex Error: " +
110 throw new RuntimeException("Xerces XPath Regex Error: " +
122 throw new RuntimeException("Xerce
[all...]
/openjdk10/hotspot/test/compiler/whitebox/
H A DSetDontInlineMethodTest.java61 throw new RuntimeException("on start " + method
65 throw new RuntimeException("after first change to true " + method
69 throw new RuntimeException("after second change to true " + method
73 throw new RuntimeException("after first change to false" + method
77 throw new RuntimeException("after second change to false " + method
H A DSetForceInlineMethodTest.java61 throw new RuntimeException("on start " + method
65 throw new RuntimeException("after first change to true " + method
69 throw new RuntimeException("after second change to true " + method
73 throw new RuntimeException("after first change to false" + method
77 throw new RuntimeException("after second change to false " + method
/openjdk10/jdk/test/java/awt/Window/LocationByPlatform/
H A DLocationByPlatformTest.java44 throw new RuntimeException("Location by platform is not set");
50 throw new RuntimeException("Location by platform is not cleared");
57 throw new RuntimeException("Location by platform is not cleared");
64 throw new RuntimeException("Location by platform is not cleared");
71 throw new RuntimeException("Location by platform is not cleared");
/openjdk10/jdk/test/java/awt/Component/Headless/
H A DHeadlessScrollbar.java44 throw new RuntimeException("HeadlessException did not occur when expected");
53 throw new RuntimeException("HeadlessException did not occur when expected");
62 throw new RuntimeException("HeadlessException did not occur when expected");
71 throw new RuntimeException("HeadlessException did not occur when expected");
80 throw new RuntimeException("HeadlessException did not occur when expected");
H A DHeadlessList.java44 throw new RuntimeException("HeadlessException did not occur when expected");
53 throw new RuntimeException("HeadlessException did not occur when expected");
62 throw new RuntimeException("HeadlessException did not occur when expected");
71 throw new RuntimeException("HeadlessException did not occur when expected");
80 throw new RuntimeException("HeadlessException did not occur when expected");
89 throw new RuntimeException("HeadlessException did not occur when expected");
98 throw new RuntimeException("HeadlessException did not occur when expected");
H A DHeadlessDialog.java44 throw new RuntimeException("HeadlessException did not occur when expected");
53 throw new RuntimeException("HeadlessException did not occur when expected");
62 throw new RuntimeException("HeadlessException did not occur when expected");
71 throw new RuntimeException("HeadlessException did not occur when expected");
80 throw new RuntimeException("HeadlessException did not occur when expected");
89 throw new RuntimeException("HeadlessException did not occur when expected");
/openjdk10/jdk/test/java/awt/regtesthelpers/
H A DWaypoint.java45 synchronized public void requireClear() throws RuntimeException {
50 throws RuntimeException {
55 throws RuntimeException {
60 throws RuntimeException {
72 throw new RuntimeException(timeOutMsg);
/openjdk10/jdk/test/java/lang/SecurityManager/
H A DNoAWT.java45 throw new RuntimeException("Got: " + perm.getClass() + ", expected: " + expectedClass);
55 throw new RuntimeException("SecurityException expected");
60 throw new RuntimeException("SecurityException expected");
65 throw new RuntimeException("NullPointException expected");
69 throw new RuntimeException("checkTopLevelWindow expected to return false");
/openjdk10/jdk/test/java/util/zip/
H A DBounds.java39 throw new RuntimeException("Expected exception not thrown");
45 throw new RuntimeException("Expected exception not thrown");
51 throw new RuntimeException("Expected exception not thrown");
57 throw new RuntimeException("Expected exception not thrown");
63 throw new RuntimeException("Expected exception not thrown");
/openjdk10/jdk/test/java/text/Format/DateFormat/
H A Dbug6317072.java41 throw new RuntimeException("should thrown a NullPointerException");
47 throw new RuntimeException("should thrown a NullPointerException");
53 throw new RuntimeException("should thrown a NullPointerException");
59 throw new RuntimeException("should thrown a NullPointerException");
65 throw new RuntimeException("should thrown a NullPointerException");
71 throw new RuntimeException("should thrown a NullPointerException");
77 throw new RuntimeException("should thrown a NullPointerException");
/openjdk10/jdk/test/javax/swing/Headless/
H A DHeadlessJDialog.java44 throw new RuntimeException("HeadlessException did not occur when expected");
53 throw new RuntimeException("HeadlessException did not occur when expected");
62 throw new RuntimeException("HeadlessException did not occur when expected");
71 throw new RuntimeException("HeadlessException did not occur when expected");
80 throw new RuntimeException("HeadlessException did not occur when expected");
89 throw new RuntimeException("HeadlessException did not occur when expected");
98 throw new RuntimeException("HeadlessException did not occur when expected");
/openjdk10/jdk/test/java/lang/Long/
H A DBitTwiddle.java46 throw new RuntimeException("a");
48 throw new RuntimeException("b");
50 throw new RuntimeException("c");
53 throw new RuntimeException("d");
55 throw new RuntimeException("e");
57 throw new RuntimeException("f");
69 throw new RuntimeException("reverse: \n" +
77 throw new RuntimeException("g: " + toHexString(x));
81 throw new RuntimeException("h");
83 throw new RuntimeException("
[all...]
/openjdk10/jdk/test/java/lang/Integer/
H A DBitTwiddle.java46 throw new RuntimeException("a");
48 throw new RuntimeException("b");
50 throw new RuntimeException("c");
53 throw new RuntimeException("d");
55 throw new RuntimeException("e");
57 throw new RuntimeException("f");
69 throw new RuntimeException("reverse: \n" +
77 throw new RuntimeException("g: " + toHexString(x));
81 throw new RuntimeException("h");
83 throw new RuntimeException("
[all...]
/openjdk10/jdk/test/java/util/concurrent/Semaphore/
H A DPermitOverflow.java48 throw new RuntimeException();
51 throw new RuntimeException();
56 throw new RuntimeException();
59 throw new RuntimeException();
64 throw new RuntimeException();
81 throw new RuntimeException();
84 throw new RuntimeException();
89 throw new RuntimeException();
92 throw new RuntimeException();
97 throw new RuntimeException();
[all...]
/openjdk10/jdk/test/java/io/File/
H A DNulFile.java172 throw new RuntimeException("FileInputStream constructor"
176 throw new RuntimeException("FileInputStream constructor"
189 throw new RuntimeException("FileInputStream constructor"
193 throw new RuntimeException("FileInputStream constructor"
208 throw new RuntimeException("FileOutputStream constructor"
212 throw new RuntimeException("FileOutputStream constructor"
225 throw new RuntimeException("FileOutputStream constructor"
229 throw new RuntimeException("FileOutputStream constructor"
247 throw new RuntimeException("RandomAccessFile constructor"
251 throw new RuntimeException("RandomAccessFil
[all...]
/openjdk10/hotspot/test/runtime/modules/getModuleJNI/
H A DGetModule.java47 throw new RuntimeException("Unexpected module name for primitive type: " +
51 throw new RuntimeException("Unexpected exception for Integer: " + e.toString());
59 throw new RuntimeException("Unexpected module name for array of primitives: " +
63 throw new RuntimeException("Unexpected exception for [I: " + e.toString());
71 throw new RuntimeException("Unexpected module name for multi-dimensional array of primitives: " +
75 throw new RuntimeException("Unexpected exception for multi-dimensional Integer array: " + e.toString());
83 throw new RuntimeException("Unexpected module name for class String: " +
87 throw new RuntimeException("Unexpected exception for String: " + e.toString());
95 throw new RuntimeException("Unexpected module name for array of Strings: " +
99 throw new RuntimeException("Unexpecte
[all...]
/openjdk10/jdk/test/lib/testlibrary/
H A DOutputAnalyzerTest.java58 } catch (RuntimeException e) {
65 } catch (RuntimeException e) {
73 } catch (RuntimeException e) {
81 } catch (RuntimeException e) {
89 } catch (RuntimeException e) {
96 } catch (RuntimeException e) {
103 } catch (RuntimeException e) {
110 } catch (RuntimeException e) {
126 } catch (RuntimeException e) {
133 } catch (RuntimeException
[all...]
/openjdk10/jdk/test/java/awt/Frame/DecoratedExceptions/
H A DDecoratedExceptions.java44 throw new RuntimeException("No exception when Opacity set to a decorated Frame");
49 throw new RuntimeException("No exception when Shape set to a decorated Frame");
54 throw new RuntimeException("No exception when Alpha background set to a decorated Frame");
61 throw new RuntimeException("No exception when Opacity set to a decorated Dialog");
66 throw new RuntimeException("No exception when Shape set to a decorated Dialog");
71 throw new RuntimeException("No exception when Alpha background set to a decorated Dialog");
/openjdk10/jdk/test/java/awt/FontClass/
H A DTextRequiresLayoutTest.java42 throw new RuntimeException("Simple text should not need layout");
46 throw new RuntimeException("Complex text should need layout");
50 throw new RuntimeException("Empty text should not need layout");
60 throw new RuntimeException("No expected IllegalArgumentException");
71 RuntimeException("No expected ArrayIndexOutOfBoundsException");
82 RuntimeException("No expected ArrayIndexOutOfBoundsException");
/openjdk10/jdk/test/java/math/BigInteger/
H A DExtremeShiftingTests.java39 throw new RuntimeException("1 << " + Integer.MIN_VALUE);
43 throw new RuntimeException("0 << " + Integer.MIN_VALUE);
48 throw new RuntimeException("-1 << " + Integer.MIN_VALUE);
52 throw new RuntimeException("1 >> " + Integer.MIN_VALUE);
59 throw new RuntimeException("0 >> " + Integer.MIN_VALUE);
63 throw new RuntimeException("-1 >> " + Integer.MIN_VALUE);
/openjdk10/jdk/test/java/lang/StackWalker/
H A DSanityTest.java42 throw new RuntimeException("NPE expected");
47 throw new RuntimeException("NPE expected");
55 throw new RuntimeException("UOE expected");
63 throw new RuntimeException("Illegal estimateDepth should throw IAE");
71 throw new RuntimeException("NPE expected");
79 throw new RuntimeException("NPE expected");
/openjdk10/jdk/test/java/net/Socket/
H A DTestClose.java49 throw new RuntimeException("ServerSocket.getInetAddress() returned null");
52 throw new RuntimeException("ServerSocket.getLocalPort() returned the wrong value");
55 throw new RuntimeException("Socket.getInetAddress() returned null");
58 throw new RuntimeException("Socket.getPort() returned wrong value");
61 throw new RuntimeException("Socket.getLocalAddress() returned null");
64 throw new RuntimeException("Socket.getLocalPort returned -1");
/openjdk10/jdk/src/java.desktop/macosx/classes/apple/laf/
H A DJRSUIFocus.java58 case NULL_PTR: throw new RuntimeException("Null pointer exception in native JRSUI");
59 case NULL_CG_REF: throw new RuntimeException("Null CG reference in native JRSUI");
60 default: throw new RuntimeException("JRSUI draw focus problem: " + status);

Completed in 272 milliseconds

1234567891011>>