Home
last modified time | relevance | path

Searched refs:thrown (Results 1 – 25 of 97) sorted by relevance

1234

/external/smack/src/org/xbill/DNS/
DExtendedResolver.java28 Throwable thrown; field in ExtendedResolver.Resolution
70 thrown = t; in send()
120 else if (thrown instanceof IOException) in start()
121 throw (IOException) thrown; in start()
122 else if (thrown instanceof RuntimeException) in start()
123 throw (RuntimeException) thrown; in start()
124 else if (thrown instanceof Error) in start()
125 throw (Error) thrown; in start()
190 if (thrown == null) in handleException()
191 thrown = e; in handleException()
[all …]
/external/okhttp/okio/src/main/java/okio/
DDeflaterSink.java104 Throwable thrown = null; in close()
109 thrown = e; in close()
115 if (thrown == null) thrown = e; in close()
121 if (thrown == null) thrown = e; in close()
125 if (thrown != null) Util.sneakyRethrow(thrown); in close()
DRealBufferedSink.java164 Throwable thrown = null;
170 thrown = e;
176 if (thrown == null) thrown = e;
180 if (thrown != null) Util.sneakyRethrow(thrown);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DGetValues003Test.java66 } catch ( Throwable thrown) { in testGetValues003()
68 logWriter.println("## Exception: " + thrown); in testGetValues003()
69 fail("Can not get debuggeeRefTypeID, Exception: " + thrown); in testGetValues003()
85 } catch ( Throwable thrown) { in testGetValues003()
87 logWriter.println("## Exception: " + thrown); in testGetValues003()
88 fail("Can not get superClassCheckedFieldID, Exception: " + thrown); in testGetValues003()
97 } catch ( Throwable thrown) { in testGetValues003()
99 logWriter.println("## Exception: " + thrown); in testGetValues003()
100 fail(" Can not get chekedClassRefTypeID, Exception: " + thrown); in testGetValues003()
DGetValues004Test.java67 } catch ( Throwable thrown) { in testGetValues004()
69 logWriter.println("## Exception: " + thrown); in testGetValues004()
70 fail("Can not get anotherClassRefTypeID, Exception: " + thrown); in testGetValues004()
86 } catch ( Throwable thrown) { in testGetValues004()
88 logWriter.println("## Exception: " + thrown); in testGetValues004()
89 fail("Can not get anotherClassCheckedFieldID, Exception: " + thrown); in testGetValues004()
98 } catch ( Throwable thrown) { in testGetValues004()
100 logWriter.println("## Exception: " + thrown); in testGetValues004()
101 fail("Can not get debuggeeRefTypeID, Exception: " + thrown); in testGetValues004()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java140 Throwable thrown = null; in closeAll() local
144 thrown = e; in closeAll()
149 if (thrown == null) thrown = e; in closeAll()
151 if (thrown == null) return; in closeAll()
152 if (thrown instanceof IOException) throw (IOException) thrown; in closeAll()
153 if (thrown instanceof RuntimeException) throw (RuntimeException) thrown; in closeAll()
154 if (thrown instanceof Error) throw (Error) thrown; in closeAll()
155 throw new AssertionError(thrown); in closeAll()
/external/smack/src/com/kenai/jbosh/
DBodyParserXmlPull.java63 Exception thrown; in parse() local
125 thrown = rtx; in parse()
127 thrown = xmlppx; in parse()
129 thrown = iox; in parse()
131 throw(new BOSHException("Could not parse body:\n" + xml, thrown)); in parse()
146 Exception thrown; in getXmlPullParser() local
156 thrown = ex; in getXmlPullParser()
159 "Could not create XmlPull parser", thrown)); in getXmlPullParser()
DBodyParserSAX.java161 Exception thrown; in parse() local
168 thrown = saxx; in parse()
170 thrown = iox; in parse()
172 throw(new BOSHException("Could not parse body:\n" + xml, thrown)); in parse()
187 Exception thrown; in getSAXParser() local
194 thrown = ex; in getSAXParser()
196 thrown = ex; in getSAXParser()
199 "Could not create SAX parser", thrown)); in getSAXParser()
DServiceLib.java151 Exception thrown; in attemptLoad() local
164 thrown = ex; in attemptLoad()
167 thrown = ex; in attemptLoad()
170 thrown = ex; in attemptLoad()
175 thrown); in attemptLoad()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DRedefineClassesTest.java170 } catch (Throwable thrown) { in testRedefineClasses001()
174 logWriter.println("===> Exception is thrown: " + thrown); in testRedefineClasses001()
182 } catch (Throwable thrown) { in testRedefineClasses001()
186 logWriter.println("===> Exception is thrown: " + thrown); in testRedefineClasses001()
194 } catch (Throwable thrown) { in testRedefineClasses001()
198 logWriter.println("===> Exception is thrown: " + thrown); in testRedefineClasses001()
204 } catch (Throwable thrown) { in testRedefineClasses001()
208 logWriter.println("===> Exception is thrown: " + thrown); in testRedefineClasses001()
225 } catch (Throwable thrown) { in testRedefineClasses001()
230 logWriter.println("===> Exception is thrown: " + thrown); in testRedefineClasses001()
DResumeDebuggee.java78 } catch ( Throwable thrown) { in run()
80 ("--> ResumeDebuggee: Exception while creating threads: " + thrown); in run()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
DBreakpointTest.java88 } 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()
DThreadStartTest.java90 } catch (TestErrorException thrown) { in testThreadStart001()
91 logWriter.println("=> Exception while receiving event:" + thrown); in testThreadStart001()
117 } catch (Throwable thrown) { in testThreadStart001()
119 + thrown); in testThreadStart001()
120 fail("##FAILURE: Exception while analyzing received event:" + thrown); in testThreadStart001()
DThreadEndTest.java89 } catch (TestErrorException thrown) { in testThreadEnd001()
90 logWriter.println("=> Exception while receiving event:" + thrown); in testThreadEnd001()
113 } catch (Throwable thrown) { in testThreadEnd001()
115 + thrown); in testThreadEnd001()
116 fail("##FAILURE: Exception while analyzing received event:" + thrown); in testThreadEnd001()
DMethodEntryExitTest.java99 } catch (TestErrorException thrown) { in testMethodEvent001()
100 logWriter.println("=> Exception while receiving event:" + thrown); in testMethodEvent001()
129 } catch (Throwable thrown) { in testMethodEvent001()
132 + thrown); in testMethodEvent001()
133 fail("Exception while analyzing received event:" + thrown); in testMethodEvent001()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java1009 if (client.thrown != null) { in doInteraction()
1012 throw client.thrown; in doInteraction()
1014 if ((client.thrown instanceof SocketTimeoutException) in doInteraction()
1015 && (server.thrown != null)) { in doInteraction()
1017 throw new Exception(server.thrown); in doInteraction()
1019 throw new Exception(client.thrown); in doInteraction()
1029 if (client2.thrown != null) { in doInteraction()
1032 throw client2.thrown; in doInteraction()
1034 if ((client2.thrown instanceof SocketTimeoutException) in doInteraction()
1035 && (server.thrown != null)) { in doInteraction()
[all …]
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/
Dpacket_loss_test.cc194 int thrown = 0; in DoPacketLoss() local
197 if (!PacketLoss(_lossProbability, thrown)) in DoPacketLoss()
208 thrown++; in DoPacketLoss()
215 int lossResult = (thrown!=0); // 0 = no loss 1 = loss(es) in DoPacketLoss()
223 _totalThrown += thrown; in DoPacketLoss()
/external/chromium_org/v8/test/mjsunit/
Dkeyed-call-generic.js102 var thrown = false;
106 thrown = true;
108 assertEquals(exceptions[k], thrown);
/external/libvpx/libvpx/examples/
Ddecode_with_partial_drops.c141 int* thrown, int* kept) in throw_packets() argument
176 if (*thrown == 0 && !loss_event) in throw_packets()
185 (*thrown)++; in throw_packets()
205 int thrown=0, kept=0; in main() local
299 thrown += thrown_frame; in main()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DStopDebuggee.java120 } catch (Throwable thrown) { in run()
121 logWriter.println(getName() + ": Exception is caught: " + thrown); in run()
122 if ( thrown.equals(exception) ) { in run()
DStatus002Debuggee.java71 } catch (Throwable thrown) { in run()
102 } catch (Throwable thrown) { in run()
DSuspendDebuggee.java75 } catch ( Throwable thrown) { in run()
77 ("--> SuspendDebuggee: Exception while creating threads: " + thrown); in run()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DSpdyConnection.java433 IOException thrown = null; in close() local
437 thrown = e; in close()
459 if (thrown != null) thrown = e; in close()
473 thrown = e; in close()
478 if (thrown == null) thrown = e; in close()
481 if (thrown != null) throw thrown; in close()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
DJPDADebuggeeSynchronizer.java148 } catch (Throwable thrown) { in receiveMessageWithoutException()
151 logWriter.println("#### " + thrown); in receiveMessageWithoutException()
154 msg = "" + thrown; in receiveMessageWithoutException()
/external/chromium_org/v8/test/webkit/
Dtostring-exception-in-property-access-expected.txt29 PASS PASS: Exception caught -- Exception thrown by toString
31 PASS PASS: Exception caught -- Exception thrown by toString
33 PASS PASS: Exception caught -- Exception thrown by toString

1234