/libcore/dom/src/test/java/org/w3c/domts/ |
JunitTestCases.java | 27 private void runDomTest(String name) throws Throwable { 33 public void test_level1_core_attrcreatedocumentfragment() throws Throwable { 37 public void test_level1_core_attrcreatetextnode() throws Throwable { 41 public void test_level1_core_attrcreatetextnode2() throws Throwable { 45 public void test_level1_core_attreffectivevalue() throws Throwable { 49 public void test_level1_core_attrname() throws Throwable { 53 public void test_level1_core_attrnextsiblingnull() throws Throwable { 57 public void test_level1_core_attrparentnodenull() throws Throwable { 61 public void test_level1_core_attrprevioussiblingnull() throws Throwable { 65 public void test_level1_core_attrspecifiedvalue() throws Throwable { [all...] |
/external/easymock/src/org/easymock/internal/ |
ThrowableWrapper.java | 18 public class ThrowableWrapper extends Throwable {
22 private final Throwable throwable;
field in class:ThrowableWrapper 24 public ThrowableWrapper(final Throwable throwable) {
25 this.throwable = throwable;
28 public Throwable getThrowable() {
29 return throwable;
|
/external/junit/src/junit/framework/ |
Protectable.java | 4 * A <em>Protectable</em> can be run and can throw a Throwable. 13 public abstract void protect() throws Throwable;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_throw/d/ |
T_opc_throw_2.java | 21 public void run() throws Throwable { 22 throw new Throwable();
|
/external/testng/src/main/java/org/testng/ |
IExpectedExceptionsHolder.java | 6 * Get the message in case the Throwable thrown by the test is not matching. 8 * @param ite The Throwable thrown by the test 11 String getWrongExceptionMessage(Throwable ite); 14 * Check if the Throwable thrown by the test is matching with the holder logic 16 * @param ite The Throwable thrown by the test 17 * @return true if the Throwable is matching with the holder logic, false otherwise 19 boolean isThrowableMatching(Throwable ite);
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
UndeclaredThrowableException.java | 31 * checked exception (a {@code Throwable} that is not assignable 51 * Throwable#getCause()} method, as well as the aforementioned "legacy 65 private Throwable undeclaredThrowable; 69 * specified {@code Throwable}. 74 public UndeclaredThrowableException(Throwable undeclaredThrowable) { 75 super((Throwable) null); // Disallow initCause 81 * specified {@code Throwable} and a detail message. 87 public UndeclaredThrowableException(Throwable undeclaredThrowable, 95 * Returns the {@code Throwable} instance wrapped in this 99 * The {@link Throwable#getCause()} method is now the preferred means o [all...] |
InvocationTargetException.java | 36 * and may be accessed via the {@link Throwable#getCause()} method, 50 * InvocationTargetException(Throwable target) constructor was 56 private Throwable target; 63 super((Throwable)null); // Disallow initCause 71 public InvocationTargetException(Throwable target) { 72 super((Throwable)null); // Disallow initCause 83 public InvocationTargetException(Throwable target, String s) { 92 * The {@link Throwable#getCause()} method is now the preferred means of 97 public Throwable getTargetException() { 108 public Throwable getCause() [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/lang/ |
ClassNotFoundException.java | 22 * {@link #getException()} method is now known as the <i>cause</i>, and may be accessed via the {@link Throwable#getCause()}
35 /** This field holds the exception ex if the ClassNotFoundException(String s, Throwable ex) constructor was used to instantiate
39 private Throwable ex;
43 super((Throwable)null); // Disallow initCause
59 public ClassNotFoundException (String s, Throwable ex) {
68 * This method predates the general-purpose exception chaining facility. The {@link Throwable#getCause()} method is now the
73 public Throwable getException () {
82 public Throwable getCause () {
|
/libcore/ojluni/src/main/java/java/lang/ |
ClassNotFoundException.java | 45 * Throwable#getCause()} method, as well as the aforementioned "legacy method." 61 * ClassNotFoundException(String s, Throwable ex) constructor was 66 private Throwable ex; 72 super((Throwable)null); // Disallow initCause 94 public ClassNotFoundException(String s, Throwable ex) { 104 * The {@link Throwable#getCause()} method is now the preferred means of 110 public Throwable getException() { 122 public Throwable getCause() {
|
ExceptionInInitializerError.java | 35 * the general purpose exception-chaining mechanism. The "saved throwable 38 * and may be accessed via the {@link Throwable#getCause()} method, as well 52 * ExceptionInInitializerError(Throwable thrown) constructor was 58 private Throwable exception; 63 * throwable object. 72 * saving a reference to the <code>Throwable</code> object thrown for 78 public ExceptionInInitializerError(Throwable thrown) { 87 * retrieval by the {@link Throwable#getMessage()} method. There is no 88 * saved throwable object. 103 * The {@link Throwable#getCause()} method is now the preferred means o [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
StoreException.java | 9 private Throwable _e; 15 * @param cause the throwable that caused this exception to be raised. 17 public StoreException(String msg, Throwable cause) 23 public Throwable getCause()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
DecoderException.java | 9 private Throwable cause; 11 DecoderException(String msg, Throwable cause) 18 public Throwable getCause()
|
EncoderException.java | 9 private Throwable cause; 11 EncoderException(String msg, Throwable cause) 18 public Throwable getCause()
|
/libcore/luni/src/main/java/libcore/util/ |
SneakyThrow.java | 31 public static void sneakyThrow(Throwable t) { 35 private static <T extends Throwable> void sneakyThrow_(Throwable t) throws T {
|
/dalvik/dx/tests/081-dex-throws-list/ |
Blort.java | 25 throws Throwable, IllegalArgumentException {
|
/dalvik/dx/tests/088-ssa-combine-blocks/ |
Blort.java | 33 } catch (Throwable tr) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/exception/ |
ExtException.java | 7 * the <code>Throwable</code> object which was thrown and caused the 20 Throwable getCause();
|
/external/easymock/src/org/easymock/ |
IAnswer.java | 31 * @throws Throwable the throwable to be thrown
33 T answer() throws Throwable;
|
/external/junit/src/org/junit/runners/model/ |
Statement.java | 13 * Run the action, throwing a {@code Throwable} if anything goes wrong. 15 public abstract void evaluate() throws Throwable;
|
/external/vogar/src/vogar/target/junit/ |
VogarTest.java | 20 void run() throws Throwable;
|
/cts/libs/deviceutil/src/android/cts/util/ |
TestThread.java | 24 private Throwable mThrowable; 35 } catch (Throwable t) { 45 * @throws Throwable 47 public void runTest(long runTime) throws Throwable { 53 * Get the Throwable object which is thrown when test running 54 * @return The Throwable object 56 public Throwable getThrowable() { 61 * Set the Throwable object which is thrown when test running 62 * @param t The Throwable object 64 public void setThrowable(Throwable t) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
ThrowableTest.java | 28 public synchronized Throwable fillInStackTrace() { 45 } catch (Throwable th) { 64 private static class SuppressionsThrowable extends Throwable { 67 public SuppressionsThrowable(String detailMessage, Throwable throwable, 69 super(detailMessage, throwable, enableSuppression, writableStackTrace); 74 Throwable throwable = new Throwable(); local 75 assertSuppressed(throwable); 85 Throwable throwable = new Throwable(); local 94 Throwable throwable = new Throwable(); local 106 Throwable throwable = new SuppressionsThrowable("foo", null, false, true); local 115 Throwable throwable = new Throwable(); local 124 Throwable throwable = new Throwable(); local 133 Throwable throwable = newThrowable("Throwable", "A", "B"); local 146 Throwable throwable = newThrowable("Throwable", "A", "B"); local 169 Throwable throwable = newThrowable("Throwable", "A", "B"); local 207 Throwable throwable = new Throwable(); local 231 Throwable throwable = newThrowable("Throwable", "A", "B"); local 259 Throwable throwable = newThrowable("Serialized", "A", "B"); local 274 Throwable throwable = new SuppressionsThrowable("foo", null, false, true); local 303 Throwable throwable = new SuppressionsThrowable("foo", null, true, true); local [all...] |
OldThrowableTest.java | 26 Throwable thr = new Throwable(message, npe); 30 thr = new Throwable(null, npe); 34 thr = new Throwable(message, null); 42 Throwable thr = new Throwable(npe); 46 thr = new Throwable((Throwable) null); 52 Throwable e = new Throwable(testMessage) [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
SingleSensorTests.java | 141 public void testAccelerometer_fastest() throws Throwable { 145 public void testAccelerometer_100hz() throws Throwable { 149 public void testAccelerometer_200hz() throws Throwable { 153 public void testAccelerometer_50hz() throws Throwable { 157 public void testAccelerometer_25hz() throws Throwable { 161 public void testAccelerometer_15hz() throws Throwable { 165 public void testAccelerometer_10hz() throws Throwable { 169 public void testAccelerometer_5hz() throws Throwable { 173 public void testAccelerometer_1hz() throws Throwable { 177 public void testMagneticField_fastest() throws Throwable { [all...] |
/external/guava/guava/src/com/google/common/base/ |
Throwables.java | 32 * Static utility methods pertaining to instances of {@link Throwable}. 46 * Propagates {@code throwable} exactly as-is, if and only if it is an 53 * } catch (Throwable t) { 60 public static <X extends Throwable> void propagateIfInstanceOf( 61 @Nullable Throwable throwable, Class<X> declaredType) throws X { 63 if (throwable != null && declaredType.isInstance(throwable)) { 64 throw declaredType.cast(throwable); 69 * Propagates {@code throwable} exactly as-is, if and only if it is a [all...] |