- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,025 for throws (0.05 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
throws UnresolvableModelException { return null; } @Override public void addRepository(Repository repository) throws InvalidRepositoryException {} @Override public void addRepository(Repository repository, boolean replace) throws InvalidRepositoryException {} @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
final int throwAfterCount; final RuntimeException thrown; int count; ThrowingRunnable(int throwAfterCount, RuntimeException thrown) { this.throwAfterCount = throwAfterCount; this.thrown = thrown; } @Override public void run() { if (++count >= throwAfterCount) { throw thrown; } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 28.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
} /** * Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") @CheckForNull public final Entry<K, V> pollFirstEntry() { throw new UnsupportedOperationException(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
throw t; } } /** Calls threadFail with message "should throw exception". */ public void threadShouldThrow() { threadFail("should throw exception"); } /** Calls threadFail with message "should throw" + exceptionName. */ public void threadShouldThrow(String exceptionName) { threadFail("should throw " + exceptionName); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
public interface StreamSupplier { InputStream open() throws IOException; } public interface ReaderSupplier { Reader open() throws IOException; } /** * @deprecated use {@link #build(ReaderSupplier)} */ @Deprecated public PluginDescriptor build(Reader reader) throws PlexusConfigurationException { return build(reader, null); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
} protected void createLocalArtifact(Artifact artifact) throws Exception { createArtifact(artifact, localRepository()); } protected void createRemoteArtifact(Artifact artifact) throws Exception { createArtifact(artifact, remoteRepository()); } protected void createArtifact(Artifact artifact, ArtifactRepository repository) throws Exception { String path = repository.pathOf(artifact);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K bytes - Viewed (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java
throw new XmlPullParserException(e.getMessage(), null, e); } } /** * @param reader a reader object. * @throws IOException IOException if any. * @throws XmlPullParserException XmlPullParserException if * any. * @return Model */ public Settings read(Reader reader) throws IOException, XmlPullParserException { try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
return FS.getRootDirectories().iterator().next(); } private Path tempDir; @Override protected void setUp() throws Exception { tempDir = Files.createTempDirectory("MoreFilesTest"); } @Override protected void tearDown() throws Exception { if (tempDir != null) { // delete tempDir and its contents Files.walkFileTree( tempDir,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
/** Throws an undeclared checked exception. */ private static void sneakyThrow(Throwable t) { class SneakyThrower<T extends Throwable> { @SuppressWarnings("unchecked") // intentionally unsafe for test void throwIt(Throwable t) throws T { throw (T) t; } } new SneakyThrower<Error>().throwIt(t); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 47.1K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java
throw new TransferCancelledException(); } @Override public void transferProgressed(TransferEvent event) throws TransferCancelledException { throw new TransferCancelledException(); } @Override public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0)