- Sort Score
- Result 10 results
- Languages All
Results 1001 - 1010 of 1,693 for threw (0.05 sec)
-
src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java
int bufferIndex ) throws IOException { int start = bufferIndex; if( in.read( buffer, bufferIndex, length ) != length ) { throw new IOException( "invalid session request wire format" ); } bufferIndex += calledName.readWireFormat( buffer, bufferIndex ); bufferIndex += callingName.readWireFormat( buffer, bufferIndex );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 2.1K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsWriter.java
try (Writer out = output) { new MavenToolchainsStaxWriter().write(out, toolchains.getDelegate()); } catch (XMLStreamException e) { throw new IOException("Error writing toolchains", e); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
if (!iterator.hasNext()) { iterator = iterable.iterator(); } return iterator.next(); } @Override public void remove() { throw new UnsupportedOperationException(); } }; } static <T extends @Nullable Object> T get(Iterator<T> iterator, int position) { for (int i = 0; i < position; i++) { iterator.next();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
if (t instanceof RuntimeException) { throw (RuntimeException) t; } if (t instanceof Error) { throw (Error) t; } throw new InvocationTargetRuntimeException(method.getDeclaringClass(), ex); } catch (final IllegalAccessException ex) { throw new IllegalAccessRuntimeException(method.getDeclaringClass(), ex); } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
// and resetting the stream. duplexResponseSent.await() } catch (e: InterruptedException) { throw AssertionError() } super.responseHeadersEnd(call, response) } } client = client.newBuilder() .eventListener(listener) .build() val body =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 23.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java
Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); Headers responseHeaders = response.headers(); for (int i = 0; i < responseHeaders.size(); i++) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.5K bytes - Viewed (0) -
okhttp-testing-support/src/test/kotlin/okhttp3/OkHttpClientTestRuleTest.kt
} @Test fun uncaughtException() { val testRule = OkHttpClientTestRule() testRule.beforeEach(extensionContext) val thread = object : Thread() { override fun run() { throw RuntimeException("boom!") } } thread.start() thread.join() assertFailsWith<AssertionError> { testRule.afterEach(extensionContext) }.also { expected ->
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesRowTest.java
@Override protected Map<String, Integer> makePopulatedMap() { Table<Character, String, Integer> table = HashBasedTable.create(); table.put('a', "one", 2); table.put('a', "two", 4); table.put('a', "three", 6); table.put('b', "four", 8); return transformValues(table, TableCollectionTest.DIVIDE_BY_2).row('a'); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java
} @Override protected SortedMap<String, Integer> makePopulatedMap() { NavigableMap<String, Integer> map = new SafeTreeMap<>(); map.put("one", 1); map.put("two", 2); map.put("three", 3); return SerializableTester.reserialize(map); } @Override protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 18 18:06:40 UTC 2022 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java
@Override public boolean hasNext() { return i < array.length; } @Override public String next() { if (!hasNext()) { throw new NoSuchElementException(); } return array[i++]; } }; assertTrue(iterator.hasNext()); assertEquals("a", iterator.next());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 1.7K bytes - Viewed (0)