- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 1,976 for throws (0.06 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
public void testNewReference() throws Exception { assertEquals(null, Atomics.newReference().get()); } public void testNewReference_withInitialValue() throws Exception { assertEquals(null, Atomics.newReference(null).get()); assertEquals(OBJECT, Atomics.newReference(OBJECT).get()); } public void testNewReferenceArray_withLength() throws Exception { int length = 42;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
throw new MavenExecutionException(message, request.getPom()); } } return result; } private List<MavenProject> includeAlsoMakeTransitively( List<MavenProject> projects, MavenExecutionRequest request, ProjectDependencyGraph graph) throws MavenExecutionException { List<MavenProject> result = projects;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 18.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/ArtifactDeployer.java
ArtifactRepository localRepository) throws ArtifactDeploymentException; /** * Deploy an artifact from a particular file. * * @param source the file to deploy * @param artifact the artifact definition * @param deploymentRepository the repository to deploy to * @param localRepository the local repository to install intoCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java
* @param type The type of toolchain to retrieve * @return List of matching toolchains, never null * @throws ToolchainManagerException if toolchain retrieval fails */ @Nonnull default List<Toolchain> getToolchains(@Nonnull Session session, @Nonnull String type) throws ToolchainManagerException { return getToolchains(session, type, null); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 3.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
@Override protected void setUp() throws Exception { super.setUp(); future = SettableFuture.create(); tester = new ListenableFutureTester(future); tester.setUp(); } public void testDefaultState() throws Exception { assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS)); } public void testSetValue() throws Exception { assertTrue(future.set("value"));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 17:49:12 GMT 2025 - 7.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
PluginDescriptorBuilder.StreamSupplier is, Plugin plugin, String descriptorLocation) throws PluginDescriptorParsingException { try { return builder.build(is, descriptorLocation); } catch (PlexusConfigurationException e) { throw new PluginDescriptorParsingException(plugin, descriptorLocation, e); } } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 09 16:35:21 GMT 2025 - 46.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/di/DiTest.java
} @Test void testGuice() throws Exception { List<Binding<ModelParser>> parsers = container.lookup(Injector.class).findBindingsByType(TypeLiteral.get(ModelParser.class)); assertNotNull(parsers); assertEquals(1, parsers.size()); } @Test void testDI() throws Exception { DiInjected diInjected = new DiInjected();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 10 23:18:32 GMT 2025 - 12.4K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* performance for unescaped strings (as measured by {@code CharEscapersBenchmark}). * * @param string the literal string to be escaped * @return the escaped form of {@code string} * @throws NullPointerException if {@code string} is null * @throws IllegalArgumentException if invalid surrogate characters are encountered */ @Override public String escape(String string) { checkNotNull(string); int end = string.length();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 13.2K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
} try { // last chance - classic model return Class.forName(name); } catch (final Exception e) { throw new TypeNotPresentException(name, e); } catch (final LinkageError e) { throw new TypeNotPresentException(name, e); } } /** * Creates an instance of the given implementation using the default constructor. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 15.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
headerList.add(Header(name, value)) } @Throws(IOException::class) private fun readLiteralHeaderWithoutIndexingNewName() { val name = checkLowercase(readByteString()) val value = readByteString() headerList.add(Header(name, value)) } @Throws(IOException::class)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 22.4K bytes - Click Count (0)