HomeSort by relevance Sort by last modified time
    Searched refs:Throwable (Results 1 - 25 of 5087) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/main/java/junit/framework/
Protectable.java 4 * A <em>Protectable</em> can be run and can throw a Throwable.
13 public abstract void protect() throws Throwable;
  /frameworks/base/graphics/java/android/graphics/
Rasterizer.java 29 protected void finalize() throws Throwable { }
  /frameworks/base/legacy-test/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...]
  /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 {
  /tools/tradefederation/core/src/com/android/tradefed/result/
InvocationStatus.java 24 Throwable mThrowable = null;
27 public void setThrowable(Throwable t) {
31 public Throwable getThrowable() {
  /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/main/java/org/junit/runners/model/
Statement.java 12 * Run the action, throwing a {@code Throwable} if anything goes wrong.
14 public abstract void evaluate() throws Throwable;
  /cts/common/device-side/util/src/com/android/compatibility/common/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...]
  /cts/tests/sensor/src/android/hardware/cts/
SingleSensorTests.java 141 public void testAccelerometer_fastest() throws Throwable {
145 public void testAccelerometer_200hz() throws Throwable {
149 public void testAccelerometer_100hz() 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 testAccelUncalibrated_fastest() throws Throwable {
    [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...]
  /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...]

Completed in 654 milliseconds

1 2 3 4 5 6 7 8 91011>>