- Sort Score
- Num 10 results
- Language All
Results 771 - 780 of 3,282 for throwIt (0.09 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java
*/ @Override public ConflictResolver getConflictResolver(String type) throws ConflictResolverNotFoundException { try { return (ConflictResolver) container.lookup(ConflictResolver.ROLE, type); } catch (ComponentLookupException exception) { throw new ConflictResolverNotFoundException("Cannot find conflict resolver of type: " + type); } }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
} /** * Decode a list of AvPairs * * @param data the encoded AV pairs data * @return individual pairs * @throws CIFSException if decoding fails */ public static List<AvPair> decode(final byte[] data) throws CIFSException { final List<AvPair> pairs = new LinkedList<>(); int pos = 0; boolean foundEnd = false; while (pos + 4 <= data.length) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.3K bytes - Click Count (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
generateContents(tempDir, count); return tempDir; } catch (final Exception e) { throw new CrawlerSystemException(e); } } private static void generateContents(final File dir, final int count) throws Exception { if (count <= 0) { return; } final String content = getHtmlContent(count);Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/context/SingletonContextTest.java
} @Test void testInitWithNullProperties() throws CIFSException { // Test successful initialization with null properties assertDoesNotThrow(() -> SingletonContext.init(null)); assertNotNull(SingletonContext.getInstance()); } @Test void testInitWithCustomProperties() throws CIFSException { // Test successful initialization with custom propertiesCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
// This test mainly verifies no exceptions are thrown } @Test @DisplayName("should handle malformed POM gracefully") void shouldHandleMalformedPomGracefully() throws Exception { Path pomFile = tempDir.resolve("pom.xml"); String malformedPom = "<?xml version=\"1.0\"?><project><invalid></project>";Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/GeoInfo.java
* geo-distance queries for each configured geographic field. * * @param request the HTTP servlet request containing geographic parameters * @throws InvalidQueryException if geo point format is invalid or parsing fails */ public GeoInfo(final HttpServletRequest request) { final FessConfig fessConfig = ComponentUtil.getFessConfig();Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/HandlerTest.java
// Arrange & Act Handler handler = newHandler(); URL url = new URL(null, spec, handler); // Assert assertEquals(expectedPort, url.getPort()); } @Test @DisplayName("parseURL with null spec throws NullPointerException") void testParseURL_NullSpec() throws MalformedURLException {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/PackageSanityTests.java
/** * Basic sanity tests for the entire package. * * @author Ben Yu */ @NullUnmarked public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() throws Exception { DummySubscriber dummySubscriber = new DummySubscriber(); setDefault(Subscriber.class, dummySubscriber.toSubscriber()); setDefault(Method.class, DummySubscriber.subscriberMethod());Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
* @return the created channel group * @throws CIFSException if channel creation fails */ public ChannelGroup createChannels(String sessionId, List<InetAddress> serverAddresses) throws CIFSException { if (sessionId == null || sessionId.isEmpty()) { throw new CIFSException("Session ID cannot be null or empty"); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 20.5K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
} } public void test_cleanup() throws Exception { final String sessionId = crawler.getSessionId(); // Add some test data crawler.addUrl("http://example.com/"); // Perform cleanup - should not throw exception crawler.cleanup(sessionId); } public void test_stop() throws Exception {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Tue Nov 11 13:40:14 GMT 2025 - 25.8K bytes - Click Count (0)