- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 3,804 for throws (0.08 seconds)
-
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
public void testCatching() throws Exception { FluentFuture<?> f = FluentFuture.from(immediateFailedFuture(new CustomRuntimeException())) .catching(Throwable.class, Object::getClass, directExecutor()); assertThat(f.get()).isEqualTo(CustomRuntimeException.class); } public void testCatchingAsync() throws Exception { FluentFuture<?> f =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
this.repoSystem = repoSystem; } public List<CoreExtensionEntry> loadCoreExtensions( MavenExecutionRequest request, Set<String> providedArtifacts, List<CoreExtension> extensions) throws Exception { try (CloseableSession repoSession = repositorySystemSessionFactory .newRepositorySessionBuilder(request)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
throws InterruptedException, ExecutionException { assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertTrue(latch.await(5, SECONDS)); assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertEquals(expectedValue, future.get()); } public void testCancelledFuture() throws InterruptedException, ExecutionException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java
/** * Parses the specified version string, for example "1.0". * * @param version the version string to parse, must not be {@code null} * @return the parsed version, never {@code null} * @throws VersionParserException if the string violates the syntax rules of this scheme * @see org.apache.maven.api.Session#parseVersion(String) */ @Nonnull Version parseVersion(@Nonnull String version); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 19 19:08:55 GMT 2023 - 2.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenUpCling.java
*/ public static void main(String[] args) throws IOException { int exitCode = new MavenUpCling().run(args, null, null, null, false); System.exit(exitCode); } /** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java
* @param len the length of data to decode * @throws IOException if an I/O error occurs during decoding */ public FileNotifyInformationImpl(final byte[] buffer, final int bufferIndex, final int len) throws IOException { decode(buffer, bufferIndex, len); } @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { if (len == 0) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/ResultSetUtil.java
throw new SQLRuntimeException(ex); } } /** * Moves the cursor to the specified position. * * @param resultSet * The result set. Must not be {@literal null}. * @param index * The position. * @return Whether the cursor successfully moved to the specified position. * @throws SQLRuntimeException
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
public final class Sources { private Sources() {} /** * Creates a new source for the specified path. * * @param path the path to the file * @return a new Source instance * @throws NullPointerException if path is null */ @Nonnull public static Source fromPath(@Nonnull Path path) { return new PathSource(requireNonNull(path, "path")); } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java
* #previous()} can retrieve the preceding {@code position} elements. * * @throws IndexOutOfBoundsException if {@code position} is negative or is greater than {@code * size} * @throws IllegalArgumentException if {@code size} is negative */ protected AbstractIndexedListIterator(int size, int position) { checkPositionIndex(position, size);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/context/BaseContext.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.5K bytes - Click Count (0)