/external/vogar/src/vogar/target/junit/ |
H A 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/guava/guava/src/com/google/common/io/ |
H A D | Closer.java | 40 * Running on Java 6, exceptions that cannot be thrown must be logged rather than being added to the 41 * thrown exception as a suppressed exception. 52 * // ensure that any checked exception types other than IOException that could be thrown are 61 * try block in order to catch any exception that may be thrown (including from the call to 68 * <li>If a {@code Throwable} is thrown in the try block, no exceptions that occur when attempting 69 * to close resources will be thrown from the finally block. The throwable from the try block will 70 * be thrown.</li> 71 * <li>If no exceptions or errors were thrown in the try block, the <i>first</i> exception thrown 72 * by an attempt to close a resource will be thrown 111 private Throwable thrown; field in class:Closer 239 suppress(Closeable closeable, Throwable thrown, Throwable suppressed) argument 250 suppress(Closeable closeable, Throwable thrown, Throwable suppressed) argument 280 suppress(Closeable closeable, Throwable thrown, Throwable suppressed) argument [all...] |
/external/okhttp/okio/okio/src/main/java/okio/ |
H A D | DeflaterSink.java | 128 Throwable thrown = null; 132 thrown = e; 138 if (thrown == null) thrown = e; 144 if (thrown == null) thrown = e; 148 if (thrown != null) Util.sneakyRethrow(thrown);
|
H A D | GzipSink.java | 89 Throwable thrown = null; 94 thrown = e; 100 if (thrown == null) thrown = e; 106 if (thrown == null) thrown = e; 110 if (thrown != null) Util.sneakyRethrow(thrown);
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/test/ |
H A 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 of the expected type 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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
H A D | GetValues003Test.java | 67 } catch ( Throwable thrown) { 69 logWriter.println("## Exception: " + thrown); 70 fail("Can not get debuggeeRefTypeID, Exception: " + thrown); 86 } catch ( Throwable thrown) { 88 logWriter.println("## Exception: " + thrown); 89 fail("Can not get superClassCheckedFieldID, Exception: " + thrown); 98 } catch ( Throwable thrown) { 100 logWriter.println("## Exception: " + thrown); 101 fail(" Can not get chekedClassRefTypeID, Exception: " + thrown);
|
H A D | GetValues004Test.java | 68 } catch ( Throwable thrown) { 70 logWriter.println("## Exception: " + thrown); 71 fail("Can not get anotherClassRefTypeID, Exception: " + thrown); 87 } catch ( Throwable thrown) { 89 logWriter.println("## Exception: " + thrown); 90 fail("Can not get anotherClassCheckedFieldID, Exception: " + thrown); 99 } catch ( Throwable thrown) { 101 logWriter.println("## Exception: " + thrown); 102 fail("Can not get debuggeeRefTypeID, Exception: " + thrown);
|
/external/dagger2/core/src/test/java/dagger/internal/ |
H A D | InstanceFactoryTest.java | 28 @Rule public final ExpectedException thrown = ExpectedException.none(); field in class:InstanceFactoryTest 39 thrown.expect(NullPointerException.class);
|
H A D | MapProviderFactoryTest.java | 34 public ExpectedException thrown = ExpectedException.none(); field in class:MapProviderFactoryTest 38 thrown.expect(NullPointerException.class); 44 thrown.expect(NullPointerException.class);
|
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/test/ |
H A 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 of the expected type 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/ |
H A 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 of the expected type 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/ |
H A 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 of the expected type 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/ |
H A 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 of the expected type 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/ |
H A 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 of the expected type 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/ |
H A 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 of the expected type 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/ |
H A 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 of the expected type 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/MultiSession/ |
H A D | BreakpointTest.java | 88 } catch (TestErrorException thrown) { 89 logWriter.println("=> Exception while receiving event:" + thrown); 118 } catch (Throwable thrown) { 121 + thrown); 122 fail("Exception while analyzing received event: "+ thrown);
|
H A D | MethodEntryExitTest.java | 99 } catch (TestErrorException thrown) { 100 logWriter.println("=> Exception while receiving event:" + thrown); 129 } catch (Throwable thrown) { 132 + thrown); 133 fail("Exception while analyzing received event:" + thrown);
|
H A D | ThreadEndTest.java | 81 } catch (TestErrorException thrown) { 82 logWriter.println("=> Exception while receiving event:" + thrown); 105 } catch (Throwable thrown) { 107 + thrown); 108 fail("##FAILURE: Exception while analyzing received event:" + thrown);
|
H A D | ThreadStartTest.java | 81 } catch (TestErrorException thrown) { 82 logWriter.println("=> Exception while receiving event:" + thrown); 108 } catch (Throwable thrown) { 110 + thrown); 111 fail("##FAILURE: Exception while analyzing received event:" + thrown);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
H A D | RedefineClassesTest.java | 169 } catch (Throwable thrown) { 173 logWriter.println("===> Exception is thrown: " + thrown); 181 } catch (Throwable thrown) { 185 logWriter.println("===> Exception is thrown: " + thrown); 193 } catch (Throwable thrown) { 197 logWriter.println("===> Exception is thrown: " + thrown); 203 } catch (Throwable thrown) { [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
H A D | Util.java | 116 Throwable thrown = null; 120 thrown = e; 125 if (thrown == null) thrown = e; 127 if (thrown == null) return; 128 if (thrown instanceof IOException) throw (IOException) thrown; 129 if (thrown instanceof RuntimeException) throw (RuntimeException) thrown; 130 if (thrown instanceo [all...] |
/external/vogar/src/vogar/target/ |
H A D | TargetMonitorRunListener.java | 56 Throwable thrown = failure.getException(); 57 prepareForDisplay(thrown); 58 thrown.printStackTrace(System.out);
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/test/ |
H A 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 of the expected type 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/ |
H A 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 of the expected type 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
|