HomeSort by relevance Sort by last modified time
    Searched refs:emptyThrowable (Results 1 - 5 of 5) sorted by null

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
IllegalStateExceptionTest.java 49 Throwable emptyThrowable = new Exception();
50 IllegalStateException emptyException = new IllegalStateException(emptyThrowable);
51 assertEquals(emptyThrowable.getClass().getName(), emptyException.getMessage());
52 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage());
53 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString());
66 Throwable emptyThrowable = new Exception();
67 IllegalStateException emptyException = new IllegalStateException("msg", emptyThrowable);
70 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString());
UnsupportedOperationExceptionTest.java 49 Throwable emptyThrowable = new Exception();
51 emptyThrowable);
52 assertEquals(emptyThrowable.getClass().getName(), emptyException.getMessage());
53 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage());
54 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString());
67 Throwable emptyThrowable = new Exception();
69 "msg", emptyThrowable);
72 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString());
IllegalArgumentExceptionTest.java 49 Throwable emptyThrowable = new Exception();
50 IllegalArgumentException emptyException = new IllegalArgumentException(emptyThrowable);
51 assertEquals(emptyThrowable.getClass().getName(), emptyException.getMessage());
52 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage());
53 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString());
RuntimeExceptionTest.java 47 Throwable emptyThrowable = new Exception();
48 RuntimeException emptyException = new RuntimeException(emptyThrowable);
49 assertEquals(emptyThrowable.getClass().getName(), emptyException.getMessage());
50 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage());
51 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString());
  /prebuilts/tools/common/m2/repository/io/reactivex/rxjava-async-util/0.21.0/
rxjava-async-util-0.21.0.jar 

Completed in 636 milliseconds