Home
last modified time | relevance | path

Searched refs:thrown (Results 1 – 3 of 3) sorted by relevance

/cts/tools/vm-tests-tf/src/dot/junit/
DDxTestCase.java23 private static void checkError(Class<?> expectedErrorClass, Throwable thrown, in checkError() argument
25 if (expectedErrorClass != null && thrown == null) { in checkError()
27 } else if (expectedErrorClass == null && thrown != null) { in checkError()
28 fail("Unexpected error " + thrown); in checkError()
29 } else if (expectedErrorClass != null && thrown != null) { in checkError()
31 if (!(thrown instanceof java.lang.reflect.InvocationTargetException)) { in checkError()
32 fail("Expected invocation target exception, but got " + thrown); in checkError()
34 thrown = thrown.getCause(); in checkError()
36 if (!expectedErrorClass.equals(thrown.getClass())) { in checkError()
38 thrown.getClass()); in checkError()
DDxAbstractMain.java25 private static void checkError(Class<?> expectedErrorClass, Throwable thrown, in checkError() argument
27 if (expectedErrorClass != null && thrown == null) { in checkError()
29 } else if (expectedErrorClass == null && thrown != null) { in checkError()
30 fail("Unexpected error " + thrown); in checkError()
31 } else if (expectedErrorClass != null && thrown != null) { in checkError()
33 if (!(thrown instanceof java.lang.reflect.InvocationTargetException)) { in checkError()
34 fail("Expected invocation target exception, but got " + thrown); in checkError()
36 thrown = thrown.getCause(); in checkError()
38 if (!expectedErrorClass.equals(thrown.getClass())) { in checkError()
39 thrown.printStackTrace(System.err); in checkError()
[all …]
/cts/tools/dex-tools/dex/
Dclasses0.out.dex56837 private java.lang.Throwable thrown