Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 2,614 for throwIt (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java

            assertExceptionMessageContains("", "anotherArtifact");
    
            // Verify that no exception is thrown when the artifactId is the module name
            when(artifact.getArtifactId()).thenReturn("org.foo.bar");
            projectManager.attachArtifact(project, artifact, artifactPath);
    
            // Verify that an exception is thrown when the groupId differs
            when(artifact.getGroupId()).thenReturn("anotherGroup");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilder.java

            }
            printBoostAndQueryName(builder);
            builder.endObject();
        }
    
        @Override
        protected Query doToQuery(final QueryShardContext context) throws IOException {
            throw new UnsupportedOperationException("Query processing is not supported.");
        }
    
        @Override
        protected boolean doEquals(final StoredLtrQueryBuilder other) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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 properties
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top