- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 1,667 for throws (0.04 seconds)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
* @param spec string representation of a version or version range * @return a new {@link VersionRange} object that represents the spec * @throws InvalidVersionSpecificationException if invalid version specification */ public static VersionRange createFromVersionSpec(String spec) throws InvalidVersionSpecificationException { if (spec == null) { return null; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 19K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
return new URLClassLoader(ClassPathUtil.getClassPathUrls(), classLoader) { @Override public Class<?> loadClass(String name) throws ClassNotFoundException { if (disallowedClassNames.contains(name)) { throw new ClassNotFoundException("I'm sorry Dave, I'm afraid I can't do that."); } if (name.startsWith(concurrentPackage)) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7.3K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt
} }) } @Throws(IOException::class) private fun processJarFile(file: Path, builder: Trie.Builder) { IoActions.withResource(openJarFile(file), object : ErroringAction<ZipInputStream>() { @Throws(Exception::class) override fun doExecute(inputStream: ZipInputStream) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Apr 11 15:53:18 GMT 2025 - 7.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
session.getArtifactTypeRegistry().get("maven-plugin")); } @Override public Artifact resolve(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session) throws PluginResolutionException { RequestTrace trace = RequestTrace.newChild(null, plugin); Artifact pluginArtifact = toArtifact(plugin, session); try {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 15:32:43 GMT 2025 - 12.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TearDown.java
* not fail a test when an exception is thrown from one of its {@link TearDown} instances, but * this is subject to change. Also, {@code junit4.TearDownTestCase} will. * * @throws Exception for any reason. {@code TearDownTestCase} ensures that any exception thrown * will not interfere with other TearDown operations. */ void tearDown() throws Exception;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestByteSource.java
} @Override public InputStream openStream() throws IOException { inputStreamOpened = true; return new RandomAmountInputStream(new In(), new Random()); } private final class In extends TestInputStream { In() throws IOException { super(new ByteArrayInputStream(bytes), options); } @Override public void close() throws IOException { inputStreamClosed = true;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestByteSource.java
} @Override public InputStream openStream() throws IOException { inputStreamOpened = true; return new RandomAmountInputStream(new In(), new Random()); } private final class In extends TestInputStream { In() throws IOException { super(new ByteArrayInputStream(bytes), options); } @Override public void close() throws IOException { inputStreamClosed = true;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 2K bytes - Click Count (0) -
guava/src/com/google/common/math/BigIntegerMath.java
} throw new AssertionError(); } private static final double LN_10 = Math.log(10); private static final double LN_2 = Math.log(2); /** * Returns the square root of {@code x}, rounded with the specified rounding mode. * * @throws IllegalArgumentException if {@code x < 0}Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0)