HomeSort by relevance Sort by last modified time
    Searched refs:Throwable (Results 1001 - 1025 of 3051) sorted by null

<<41424344454647484950>>

  /external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
SQLTransientExceptionTest.java 328 * @test java.sql.SQLTransientException(Throwable)
331 Throwable cause = new Exception("MYTHROWABLE");
349 * @test java.sql.SQLTransientException(Throwable)
353 (Throwable) null);
366 * @test java.sql.SQLTransientException(String, Throwable)
369 Throwable cause = new Exception("MYTHROWABLE");
386 * @test java.sql.SQLTransientException(String, Throwable)
390 "MYTESTSTRING", (Throwable) null);
404 * @test java.sql.SQLTransientException(String, Throwable)
407 Throwable cause = new Exception("MYTHROWABLE")
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothHeadset.java 350 Log.e(TAG, Log.getStackTraceString(new Throwable()));
391 Log.e(TAG, Log.getStackTraceString(new Throwable()));
408 Log.e(TAG, Log.getStackTraceString(new Throwable()));
425 Log.e(TAG, Log.getStackTraceString(new Throwable()));
443 Log.e(TAG, Log.getStackTraceString(new Throwable()));
477 Log.e(TAG, Log.getStackTraceString(new Throwable()));
505 Log.e(TAG, Log.getStackTraceString(new Throwable()));
541 Log.e(TAG, Log.getStackTraceString(new Throwable()));
565 Log.e(TAG, Log.getStackTraceString(new Throwable()));
588 Log.e(TAG, Log.getStackTraceString(new Throwable()));
    [all...]
  /external/junit/src/org/junit/runners/
BlockJUnit4ClassRunner.java 97 protected void collectInitializationErrors(List<Throwable> errors) {
106 protected void validateNoNonStaticInnerClass(List<Throwable> errors) {
119 protected void validateConstructor(List<Throwable> errors) {
128 protected void validateOnlyOneConstructor(List<Throwable> errors) {
139 protected void validateZeroArgConstructor(List<Throwable> errors) {
160 protected void validateInstanceMethods(List<Throwable> errors) {
169 private void validateFields(List<Throwable> errors) {
177 protected void validateTestMethods(List<Throwable> errors) {
235 protected Object runReflectiveCall() throws Throwable {
239 } catch (Throwable e)
    [all...]
  /external/emma/core/java12/com/vladium/emma/rt/
AppRunner.java 467 final Throwable cause = eiie.getException ();
471 catch (Throwable t)
495 catch (Throwable t)
524 final Throwable mainFailure = invoker.getFailure ();
531 final Throwable cause = ((InvocationTargetException) mainFailure).getTargetException ();
538 final Throwable cause = ((ExceptionInInitializerError) mainFailure).getException ();
566 catch (Throwable ignore) {}
575 catch (Throwable ignore) {}
601 final Throwable exitHookDataDumpFailure = runnerExitHook.getDataDumpFailure ();
602 final List /* Throwable */ exitHookReportFailures = runnerExitHook.getReportFailures ()
    [all...]
  /cts/tests/tests/preference2/src/android/preference2/cts/
PreferenceTest.java 56 public void testSetSummary() throws Throwable {
70 public void testSetEnabled() throws Throwable {
94 public void testSetTitle() throws Throwable {
116 public void testSetKey() throws Throwable {
134 public void testSetTitle_CharSequence() throws Throwable {
149 public void testGetOrder() throws Throwable {
154 public void testSetOrder() throws Throwable {
173 public void testSetShouldDisableView() throws Throwable {
  /cts/tests/tests/telephony/src/android/telephony/cts/
PhoneStateListenerTest.java 72 public void testOnServiceStateChanged() throws Throwable {
110 public void testOnSignalStrengthChanged() throws Throwable {
144 public void testOnMessageWaitingIndicatorChanged() throws Throwable {
179 public void testOnCallForwardingIndicatorChanged() throws Throwable {
214 public void testOnCellLocationChanged() throws Throwable {
248 public void testOnCallStateChanged() throws Throwable {
282 public void testOnDataConnectionStateChanged() throws Throwable {
317 public void testOnDataActivity() throws Throwable {
  /development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
MediaButtonHelper.java 46 Throwable cause = e.getCause();
71 Throwable cause = e.getCause();
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
ExemptionMechanismExceptionTest.java 53 static Throwable tCause = new Throwable("Throwable for exception");
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
IllegalArgumentExceptionTest.java 46 * @tests {@link java.lang.IllegalArgumentException#IllegalArgumentException(Throwable)}
49 Throwable emptyThrowable = new Exception();
55 Throwable exception = new Exception("msg");
63 * @tests java.lang.IllegalArgumentException#IllegalArgumentException(String,Throwable)
RuntimeExceptionTest.java 44 * @tests {@link java.lang.RuntimeException#RuntimeException(Throwable)}
47 Throwable emptyThrowable = new Exception();
53 Throwable throwable = new Exception("msg"); local
54 RuntimeException exception = new RuntimeException(throwable);
55 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage());
56 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage());
57 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString());
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/serialization/
CertPathValidatorExceptionTest.java 48 Throwable th = null;
52 new CertPathValidatorException(new Throwable()),
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
ClientOnPageFinishedTest.java 39 public void testOnPageFinishedPassesCorrectUrl() throws Throwable {
53 public void testOnPageFinishedCalledAfterError() throws Throwable {
91 public void testOnPageFinishedCalledAfterRedirectedUrlIsOverridden() throws Throwable {
131 public void testOnPageFinishedNotCalledForValidSubresources() throws Throwable {
173 public void testOnPageFinishedNotCalledForHistoryApi() throws Throwable {
215 public void testOnPageFinishedCalledForHrefNavigations() throws Throwable {
221 public void testOnPageFinishedCalledForHrefNavigationsWithBaseUrl() throws Throwable {
225 private void doTestOnPageFinishedCalledForHrefNavigations(boolean useBaseUrl) throws Throwable {
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
ContentViewTestBase.java 44 } catch (Throwable e) {
55 final String mimeType, final boolean isBase64Encoded) throws Throwable {
JavaBridgeFieldsTest.java 56 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable {
65 public void testFieldTypes() throws Throwable {
  /external/guava/guava/src/com/google/common/util/concurrent/
AbstractIdleService.java 45 } catch (Throwable t) {
59 } catch (Throwable t) {
  /external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
MockFutureListener.java 56 * @throws Throwable if the listener isn't called or if it resulted in a
57 * throwable or if the result doesn't match the expected value.
59 public void assertSuccess(Object expectedData) throws Throwable {
75 public void assertException(Throwable expectedCause) throws Exception {
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AbstractChainedListenableFutureTest.java 79 public void testAddListenerAfterCallback() throws Throwable {
85 public void testFutureBeforeCallback() throws Throwable {
  /external/junit/src/org/junit/experimental/theories/internal/
ParameterizedAssertionError.java 14 public ParameterizedAssertionError(Throwable targetException,
45 } catch (Throwable e) {
  /external/junit/src/org/junit/internal/runners/
TestMethod.java 41 protected Class<? extends Throwable> getExpectedException() {
49 boolean isUnexpected(Throwable exception) {
  /external/junit/src/org/junit/internal/runners/model/
EachTestNotifier.java 22 public void addFailure(Throwable targetException) {
32 for (Throwable each : mfe.getFailures())
  /external/junit/src/org/junit/runners/model/
RunnerBuilder.java 46 * @throws Throwable if a runner cannot be constructed
48 public abstract Runner runnerForClass(Class<?> testClass) throws Throwable;
58 } catch (Throwable e) {
  /external/mockito/src/org/mockito/internal/stubbing/
StubberImpl.java 42 public Stubber doThrow(Throwable toBeThrown) {
47 public Stubber doThrow(Class<? extends Throwable> toBeThrown) {
  /external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
ReturnsSmartNulls.java 42 public Object answer(final InvocationOnMock invocation) throws Throwable {
64 public Object answer(InvocationOnMock currentInvocation) throws Throwable {
  /frameworks/base/core/java/android/os/
Registrant.java 56 notifyException(Throwable exception)
71 internalNotifyRegistrant (Object result, Throwable exception)
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
CameraUtilsRuntimeExceptionTest.java 54 Throwable cause = new IllegalStateException("For great justice");
67 Throwable cause = new IllegalStateException("For great justice");

Completed in 1482 milliseconds

<<41424344454647484950>>