/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();
|
/libcore/luni/src/main/java/java/lang/ |
ClassNotFoundException.java | 27 private Throwable ex; 34 super((Throwable) null); 58 public ClassNotFoundException(String detailMessage, Throwable exception) { 66 * @return Throwable the exception which occurred while loading the class. 68 public Throwable getException() { 73 * Returns the cause of this Throwable, or {@code null} if there is no 76 * @return Throwable the receiver's cause. 79 public Throwable getCause() {
|
ExceptionInInitializerError.java | 27 private Throwable exception; 57 public ExceptionInInitializerError(Throwable exception) { 67 public Throwable getException() { 77 public Throwable getCause() {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
StoreException.java | 6 private Throwable _e; 8 public StoreException(String s, Throwable e) 14 public Throwable getCause()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
DecoderException.java | 6 private Throwable cause; 8 DecoderException(String msg, Throwable cause) 15 public Throwable getCause()
|
EncoderException.java | 6 private Throwable cause; 8 EncoderException(String msg, Throwable cause) 15 public Throwable getCause()
|
/libcore/luni/src/main/java/libcore/util/ |
SneakyThrow.java | 21 * Exploits a weakness in the runtime to throw an arbitrary throwable without 29 * Throwable thrown = null; 47 * Throwable thrown = null; 58 public static void sneakyThrow(Throwable t) { 67 private static <T extends Throwable> void sneakyThrow2(Throwable t) throws T {
|
/libcore/luni/src/main/java/java/lang/reflect/ |
InvocationTargetException.java | 31 private Throwable target; 38 super((Throwable) null); 49 public InvocationTargetException(Throwable exception) { 64 public InvocationTargetException(Throwable exception, String detailMessage) { 74 public Throwable getTargetException() { 84 public Throwable getCause() {
|
UndeclaredThrowableException.java | 30 private Throwable undeclaredThrowable; 39 public UndeclaredThrowableException(Throwable exception) { 53 public UndeclaredThrowableException(Throwable exception, 66 public Throwable getUndeclaredThrowable() { 77 public Throwable getCause() {
|
/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/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
ConnectionMonitor.java | 36 public void connectionLost(Throwable reason);
|
/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;
|
/cts/tests/src/android/os/cts/ |
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() { 41 private static class SuppressionsThrowable extends Throwable { 42 public SuppressionsThrowable(String detailMessage, Throwable throwable, 44 super(detailMessage, throwable, enableSuppression); 49 Throwable throwable = new Throwable(); local 50 assertSuppressed(throwable); 51 Throwable suppressedA = new Throwable() 60 Throwable throwable = new Throwable(); local 69 Throwable throwable = new Throwable(); local 81 Throwable throwable = new SuppressionsThrowable("foo", null, false); local 90 Throwable throwable = new Throwable(); local 99 Throwable throwable = new Throwable(); local 108 Throwable throwable = newThrowable("Throwable", "A", "B"); local 121 Throwable throwable = newThrowable("Throwable", "A", "B"); local 144 Throwable throwable = newThrowable("Throwable", "A", "B"); local 182 Throwable throwable = new Throwable(); local 206 Throwable throwable = newThrowable("Throwable", "A", "B"); local 234 Throwable throwable = newThrowable("Serialized", "A", "B"); local 249 Throwable throwable = new SuppressionsThrowable("foo", null, false); local 278 Throwable throwable = new SuppressionsThrowable("foo", null, 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...] |
/external/guava/guava/src/com/google/common/base/ |
Throwables.java | 32 * Static utility methods pertaining to instances of {@link Throwable}. 42 * Propagates {@code throwable} exactly as-is, if and only if it is an 49 * } catch (Throwable t) { 56 public static <X extends Throwable> void propagateIfInstanceOf( 57 @Nullable Throwable throwable, Class<X> declaredType) throws X { 59 if (throwable != null && declaredType.isInstance(throwable)) { 60 throw declaredType.cast(throwable); 65 * Propagates {@code throwable} exactly as-is, if and only if it is a [all...] |
/frameworks/base/core/java/android/accounts/ |
AccountsException.java | 26 public AccountsException(String message, Throwable cause) { 29 public AccountsException(Throwable cause) {
|
AuthenticatorException.java | 26 public AuthenticatorException(String message, Throwable cause) { 29 public AuthenticatorException(Throwable cause) {
|
NetworkErrorException.java | 25 public NetworkErrorException(String message, Throwable cause) { 28 public NetworkErrorException(Throwable cause) {
|