/external/guava/guava/src/com/google/common/io/ |
D | Closer.java | 111 private Throwable thrown; field in Closer 147 thrown = e; in rethrow() 169 thrown = e; in rethrow() 193 thrown = e; in rethrow() 208 Throwable throwable = thrown; in close() 224 if (thrown == null && throwable != null) { in close() 239 void suppress(Closeable closeable, Throwable thrown, Throwable suppressed); in suppress() argument 250 public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) { in suppress() argument 280 public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) { in suppress() argument 282 if (thrown == suppressed) { in suppress() [all …]
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | GzipSink.java | 89 Throwable thrown = null; in close() 94 thrown = e; in close() 100 if (thrown == null) thrown = e; in close() 106 if (thrown == null) thrown = e; in close() 110 if (thrown != null) Util.sneakyRethrow(thrown); in close()
|
D | DeflaterSink.java | 128 Throwable thrown = null; in close() 132 thrown = e; in close() 138 if (thrown == null) thrown = e; in close() 144 if (thrown == null) thrown = e; in close() 148 if (thrown != null) Util.sneakyRethrow(thrown); in close()
|
/external/vogar/src/vogar/target/junit/ |
D | TimeoutAndAbortRunRule.java | 81 Throwable thrown; 83 thrown = getThrowable(result); 91 thrown = new VmIsUnstableException(e); 94 if (thrown != null) { 95 throw thrown; 102 Throwable thrown; 103 thrown = timeoutSeconds == 0 106 return thrown;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
D | GetValues004Test.java | 68 } catch ( Throwable thrown) { in testGetValues004() 70 logWriter.println("## Exception: " + thrown); in testGetValues004() 71 fail("Can not get anotherClassRefTypeID, Exception: " + thrown); in testGetValues004() 87 } catch ( Throwable thrown) { in testGetValues004() 89 logWriter.println("## Exception: " + thrown); in testGetValues004() 90 fail("Can not get anotherClassCheckedFieldID, Exception: " + thrown); in testGetValues004() 99 } catch ( Throwable thrown) { in testGetValues004() 101 logWriter.println("## Exception: " + thrown); in testGetValues004() 102 fail("Can not get debuggeeRefTypeID, Exception: " + thrown); in testGetValues004()
|
D | GetValues003Test.java | 67 } catch ( Throwable thrown) { in testGetValues003() 69 logWriter.println("## Exception: " + thrown); in testGetValues003() 70 fail("Can not get debuggeeRefTypeID, Exception: " + thrown); in testGetValues003() 86 } catch ( Throwable thrown) { in testGetValues003() 88 logWriter.println("## Exception: " + thrown); in testGetValues003() 89 fail("Can not get superClassCheckedFieldID, Exception: " + thrown); in testGetValues003() 98 } catch ( Throwable thrown) { in testGetValues003() 100 logWriter.println("## Exception: " + thrown); in testGetValues003() 101 fail(" Can not get chekedClassRefTypeID, Exception: " + thrown); in testGetValues003()
|
/external/rappor/client/javatest/com/google/android/rappor/ |
D | EncoderTest.java | 30 public final ExpectedException thrown = ExpectedException.none(); field in EncoderTest 93 thrown.expect(IllegalArgumentException.class); in testEncoderConstruction_userSecretTooShort() 120 thrown.expect(IllegalArgumentException.class); in testEncoderConstruction_numBitsTooLow() 133 thrown.expect(IllegalArgumentException.class); in testEncoderConstruction_numBitsTooHigh() 147 thrown.expect(IllegalArgumentException.class); in testEncoderConstruction_probabilityFTooLow() 160 thrown.expect(IllegalArgumentException.class); in testEncoderConstruction_probabilityFTooHigh() 173 thrown.expect(IllegalArgumentException.class); in testEncoderConstruction_probabilityPTooLow() 186 thrown.expect(IllegalArgumentException.class); in testEncoderConstruction_probabilityPTooHigh() 199 thrown.expect(IllegalArgumentException.class); in testEncoderConstruction_probabilityQTooLow() 212 thrown.expect(IllegalArgumentException.class); in testEncoderConstruction_probabilityQTooHigh() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Util.java | 116 Throwable thrown = null; in closeAll() local 120 thrown = e; in closeAll() 125 if (thrown == null) thrown = e; in closeAll() 127 if (thrown == null) return; in closeAll() 128 if (thrown instanceof IOException) throw (IOException) thrown; in closeAll() 129 if (thrown instanceof RuntimeException) throw (RuntimeException) thrown; in closeAll() 130 if (thrown instanceof Error) throw (Error) thrown; in closeAll() 131 throw new AssertionError(thrown); in closeAll()
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 36 * @return the thrown Exception instance 38 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 44 } catch (Throwable thrown) { 45 actualException = thrown 47 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 57 * @return the message from the thrown Exception 59 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 37 * @return the thrown Exception instance 39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 45 } catch (Throwable thrown) { 46 actualException = thrown 48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 58 * @return the message from the thrown Exception 60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 37 * @return the thrown Exception instance 39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 45 } catch (Throwable thrown) { 46 actualException = thrown 48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 58 * @return the message from the thrown Exception 60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 37 * @return the thrown Exception instance 39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 45 } catch (Throwable thrown) { 46 actualException = thrown 48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 58 * @return the message from the thrown Exception 60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 37 * @return the thrown Exception instance 39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 45 } catch (Throwable thrown) { 46 actualException = thrown 48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 58 * @return the message from the thrown Exception 60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 37 * @return the thrown Exception instance 39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 45 } catch (Throwable thrown) { 46 actualException = thrown 48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 58 * @return the message from the thrown Exception 60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 37 * @return the thrown Exception instance 39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 45 } catch (Throwable thrown) { 46 actualException = thrown 48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 58 * @return the message from the thrown Exception 60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 37 * @return the thrown Exception instance 39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 45 } catch (Throwable thrown) { 46 actualException = thrown 48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 58 * @return the message from the thrown Exception 60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
D | RedefineClassesTest.java | 118 } catch (Throwable thrown) { in getNewClassBytesClass() 121 logWriter.println("===> Exception is thrown: " + thrown); in getNewClassBytesClass() 129 } catch (Throwable thrown) { in getNewClassBytesClass() 132 logWriter.println("===> Exception is thrown: " + thrown); in getNewClassBytesClass() 140 } catch (Throwable thrown) { in getNewClassBytesClass() 144 logWriter.println("===> Exception is thrown: " + thrown); in getNewClassBytesClass() 150 } catch (Throwable thrown) { in getNewClassBytesClass() 154 logWriter.println("===> Exception is thrown: " + thrown); in getNewClassBytesClass() 163 } catch (Throwable thrown) { in getNewClassBytesClass() 166 logWriter.println("===> Exception is thrown: " + thrown); in getNewClassBytesClass()
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTestCase.groovy | 52 * @return the thrown Exception instance 54 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 60 } catch (Throwable thrown) { 61 actualException = thrown 63 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 73 * @return the message from the thrown Exception 75 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTestCase.groovy | 52 * @return the thrown Exception instance 54 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 60 } catch (Throwable thrown) { 61 actualException = thrown 63 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 73 * @return the message from the thrown Exception 75 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTestCase.groovy | 51 * @return the thrown Exception instance 53 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 59 } catch (Throwable thrown) { 60 actualException = thrown 62 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 72 * @return the message from the thrown Exception 74 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTestCase.groovy | 51 * @return the thrown Exception instance 53 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 59 } catch (Throwable thrown) { 60 actualException = thrown 62 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 72 * @return the message from the thrown Exception 74 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTestCase.groovy | 52 * @return the thrown Exception instance 54 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not… 60 } catch (Throwable thrown) { 61 actualException = thrown 63 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]" 73 * @return the message from the thrown Exception 75 * @throws AssertionError - if no exception is thrown by the code or if the thrown
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/ |
D | BreakpointTest.java | 88 } catch (TestErrorException thrown) { in testClearBreakpoint001() 89 logWriter.println("=> Exception while receiving event:" + thrown); in testClearBreakpoint001() 118 } catch (Throwable thrown) { in testClearBreakpoint001() 121 + thrown); in testClearBreakpoint001() 122 fail("Exception while analyzing received event: "+ thrown); in testClearBreakpoint001()
|
D | ThreadStartTest.java | 81 } catch (TestErrorException thrown) { in testThreadStart001() 82 logWriter.println("=> Exception while receiving event:" + thrown); in testThreadStart001() 108 } catch (Throwable thrown) { in testThreadStart001() 110 + thrown); in testThreadStart001() 111 fail("##FAILURE: Exception while analyzing received event:" + thrown); in testThreadStart001()
|
D | ThreadEndTest.java | 81 } catch (TestErrorException thrown) { in testThreadEnd001() 82 logWriter.println("=> Exception while receiving event:" + thrown); in testThreadEnd001() 105 } catch (Throwable thrown) { in testThreadEnd001() 107 + thrown); in testThreadEnd001() 108 fail("##FAILURE: Exception while analyzing received event:" + thrown); in testThreadEnd001()
|