- Sort Score
- Num 10 results
- Language All
Results 931 - 940 of 3,799 for thrown (0.08 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java
* @return a map of Path to Document for all discovered POM files * @throws IOException if there's an error reading files * @throws DomTripException if there's an error parsing XML */ public static Map<Path, Document> discoverPoms(Path startDirectory) throws IOException, DomTripException { Map<Path, Document> pomMap = new HashMap<>(); // Find and load the root POMCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
*/ static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future) throws ExecutionException { checkState(future.isDone(), "Future was expected to be done: %s", future); try { return getUninterruptibly(future, 0, SECONDS); } catch (TimeoutException e) { throw new AssertionError(e); } } private TestPlatform() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
public boolean isOptional() { return optional; } @Override public ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException { return versionRange.getSelectedVersion(this); } @Override public boolean isSelectedVersionKnown() throws OverConstrainedVersionException { return versionRange.isSelectedVersionKnown(this); } @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 14.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
public boolean addAll(Collection<? extends E> elementsToAdd) { throw up(); } @Override public boolean removeAll(Collection<?> elementsToRemove) { throw up(); } @Override public boolean retainAll(Collection<?> elementsToRetain) { throw up(); } @Override public void clear() { throw up(); } private static UnsupportedOperationException up() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 3.8K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 00:19:42 GMT 2025 - 4.6K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java
} private BytesReference read300BytesExample() throws IOException { return Streams.readFully(FetchSourcePhaseBenchmark.class.getResourceAsStream("300b_example.json")); } private BytesReference buildBigExample(String extraText) throws IOException { String bigger = read300BytesExample().utf8ToString();Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 17:34:14 GMT 2021 - 5.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
.build(); }) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("http://publicobject.com/secrets/hellosecret.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string());
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
@Test public void inMemory() throws IOException { ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4 }); assertFalse(cos.done); assertTrue(cos.isInMemory()); cos.close(); assertFalse(cos.done); } @Test public void inFile() throws IOException {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 11.7K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/Subscriber.java
* synchronized. */ @VisibleForTesting void invokeSubscriberMethod(Object event) throws InvocationTargetException { try { method.invoke(target, checkNotNull(event)); } catch (IllegalArgumentException e) { throw new Error("Method rejected target/argument: " + event, e); } catch (IllegalAccessException e) { throw new Error("Method became inaccessible: " + event, e); } catch (InvocationTargetException e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SID.java
* * @param textual the textual representation of the SID * @throws SmbException if the textual format is invalid */ public SID(final String textual) throws SmbException { final StringTokenizer st = new StringTokenizer(textual, "-"); if (st.countTokens() < 3 || !st.nextToken().equals("S")) { // need S-N-M throw new SmbException("Bad textual SID format: " + textual); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16K bytes - Click Count (0)