- Sort Score
- Num 10 results
- Language All
Results 1871 - 1880 of 3,804 for throws (0.12 seconds)
-
guava-tests/test/com/google/common/graph/ValueGraphTest.java
} @Test public void edgeValue_undirected_mismatch() { graph = ValueGraphBuilder.undirected().build(); graph.putEdgeValue(1, 2, "A"); // Check that edgeValue() throws on each possible ordering of an ordered EndpointPair IllegalArgumentException e = assertThrows( IllegalArgumentException.class, () -> graph.edgeValue(EndpointPair.ordered(1, 2)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 20.5K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java
map.put("one", 1); map.put("two", 2); map.put("three", 3); return SerializableTester.reserialize(map); } @Override protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException { NavigableMap<String, Integer> map = new SafeTreeMap<>(); return SerializableTester.reserialize(map); } @Override protected String getKeyNotInPopulatedMap() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 18 18:06:40 GMT 2022 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
* the class loader that loaded this class is returned. * </p> * * @param targetClass the target class (must not be {@literal null}) * @return the class loader * @throws IllegalStateException if the class loader could not be obtained */ public static ClassLoader getClassLoader(final Class<?> targetClass) { assertArgumentNotNull("targetClass", targetClass);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
*/ public final class PrintEventsNonConcurrent { private final OkHttpClient client = new OkHttpClient.Builder() .eventListener(new PrintingEventListener()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); System.out.println("REQUEST 1 (new connection)");Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/util/SecureKeyManager.java
* * @param sessionId the session ID * @return the new key version number * @throws GeneralSecurityException if rotation fails */ public int rotateSessionKey(String sessionId) throws GeneralSecurityException { checkNotClosed(); if (!sessionKeys.containsKey(sessionId)) { throw new IllegalArgumentException("Session key not found: " + sessionId); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 21.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java
*/ @Deprecated public class RegexBasedModelInterpolator extends AbstractStringBasedModelInterpolator { public RegexBasedModelInterpolator() throws IOException {} public RegexBasedModelInterpolator(PathTranslator pathTranslator) { super(pathTranslator); } public RegexBasedModelInterpolator(Properties envars) {} @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
* @return a map mapping the result of evaluating the function {@code keyFunction} on each value * in the input collection to that value * @throws IllegalArgumentException if {@code keyFunction} produces the same key for more than one * value in the input collection * @throws NullPointerException if any element of {@code values} is {@code null}, or if {@code * keyFunction} produces {@code null} for any value */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
* @param listener the response listener * @throws UnsupportedOperationException always thrown as this operation is not implemented */ @Override public void searchView(org.opensearch.action.admin.indices.view.SearchViewAction.Request request, ActionListener<SearchResponse> listener) { throw new UnsupportedOperationException("Not implemented yet"); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 138.6K bytes - Click Count (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
try { close() } catch (e: AssertionError) { throw e } catch (rethrown: RuntimeException) { if (rethrown.message == "bio == null") { // Conscrypt in Android 10 and 11 may throw closing an SSLSocket. This is safe to ignore. // https://issuetracker.google.com/issues/177450597 return } throw rethrown } catch (_: Exception) { } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java
return 0; } @Override int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException { if (in.read(buffer, bufferIndex, this.length) != this.length) { throw new IOException("unexpected EOF reading netbios retarget session response"); } final int addr = readInt4(buffer, bufferIndex); bufferIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.7K bytes - Click Count (0)