- Sort Score
- Result 10 results
- Languages All
Results 2351 - 2360 of 3,205 for throwIt (0.04 sec)
-
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConverterLookup.java
public void registerConverter(ConfigurationConverter converter) { delegate.registerConverter(converter); } @Override public ConfigurationConverter lookupConverterForType(Class<?> type) throws ComponentConfigurationException { ConfigurationConverter converter = delegate.lookupConverterForType(type); return converter.getClass().equals(ObjectWithFieldsConverter.class)
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java
import java.util.Scanner; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class StringSourceTest { @Test void testGetInputStream() throws Exception { StringSource source = new StringSource("Hello World!"); try (InputStream is = source.getInputStream(); Scanner scanner = new Scanner(is)) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java
*/ protected abstract Pattern getTagPattern(); @Override public ExtractData getText(final InputStream in, final Map<String, String> params) { if (in == null) { throw new CrawlerSystemException("XML input stream is null. Cannot extract text from null input."); } try { final BufferedInputStream bis = new BufferedInputStream(in);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 8.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
resetMap(createArrayWithNullValue()); } /** * Equivalent to {@link #expectMissingKeys(Object[]) expectMissingKeys} {@code (null)} except that * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}. * * @param message message to use upon assertion failure */ protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) { try {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
} catch (final IOException e) { throw new IORuntimeException(e); } logFileItems.add(map); }); } catch (final Exception e) { throw new FessSystemException("Failed to access log files.", e); } } return logFileItems; }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
} @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_unsupportedNotPresent() { try { assertFalse( "remove(notPresent) should return false or throw UnsupportedOperationException", collection.remove(e3())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); expectMissing(e3()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 21:04:02 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
throw new RuntimeException("bad constructor"); } public ExceptionWithGoodAndBadConstructor(Throwable cause) { super(cause); } } static final class ExceptionWithBadConstructor extends Exception { public ExceptionWithBadConstructor(String message, Throwable cause) { throw new RuntimeException("bad constructor"); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
} @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGet_nullNotContainedAndUnsupported() { try { assertNull("get(null) should return null or throw", get(null)); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testGet_nonNullWhenNullContained() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java
} @Override public <T> T lookup(Class<T> type) { Optional<T> optional = lookupOptional(type); if (optional.isPresent()) { return optional.get(); } else { throw new LookupException("No mapping for key: " + type.getName()); } } @Override public <T> T lookup(Class<T> type, String name) { return lookup(type); } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java
} @Override public void addHandlers(Map<String, ArtifactHandler> handlers) { throw new UnsupportedOperationException("Adding handlers programmatically is not supported anymore"); } @Deprecated public Set<String> getHandlerTypes() { throw new UnsupportedOperationException("Querying handlers programmatically is not supported anymore"); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 3.4K bytes - Viewed (0)