Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 2,867 for exception (1.06 sec)

  1. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        CaseInsensitiveMap<String> map;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            map = new CaseInsensitiveMap<String>();
            map.put("one", "1");
            map.put("two", "2");
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            map = null;
        }
    
        /**
         * @throws Exception
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            verify(session, times(4)).close();
            verify(transport, times(4)).close();
        }
    
        @Test
        @DisplayName("isSMB2 true and exception fallback to false")
        void isSMB2Cases() throws Exception {
            // Happy path returns true; transport exception path returns false
            when(transport.isSMB2()).thenReturn(true);
            assertTrue(handle.isSMB2());
    
            reset(transport);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

        }
    
        @Test
        void testHelpExecuteReturnsZero() throws Exception {
            UpgradeContext context = createMockContext();
    
            int result = help.execute(context);
    
            assertEquals(0, result, "Help goal should return 0 (success)");
        }
    
        @Test
        void testHelpExecuteDoesNotThrow() throws Exception {
            UpgradeContext context = createMockContext();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.exception.ChildUrlsException;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.exception.MaxLengthExceededException;
    import org.codelibs.fess.crawler.helper.ContentLengthHelper;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 31.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                        }
                    } else {
                        value = ReflectionValueExtractor.evaluate(expression, session);
                    }
                } catch (Exception e) {
                    // TODO don't catch exception
                    throw new ExpressionEvaluationException(
                            "Error evaluating plugin parameter expression: " + expression, e);
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            // Simulate failure
            IOException failure = new IOException("Connection lost");
            failover.handleFailure(channel, failure);
    
            // Verify channel state changed
            assertFalse(channel.isHealthy());
            assertEquals(ChannelState.FAILED, channel.getState());
        }
    
        @Test
        void testLoadBalancingStrategies() throws Exception {
            // Test different load balancing strategies
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java

        }
    
        @Override
        public void close() throws Exception {
            ArrayList<Exception> exceptions = new ArrayList<>();
            for (CommandRegistry commandRegistry : commandRegistries) {
                if (commandRegistry instanceof AutoCloseable closeable) {
                    try {
                        closeable.close();
                    } catch (Exception e) {
                        exceptions.add(e);
                    }
                }
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 17 09:50:45 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class ModelBuildingException extends Exception {
    
        private final ModelBuildingResult result;
    
        /**
         * Creates a new exception with the specified problems.
         *
         * @param model The model that could not be built, may be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

        }
    
        @Test
        public void testReleaseSendRegion() throws Exception {
            RdmaMemoryRegion region = bufferManager.getSendRegion(1024);
            assertNotNull(region);
    
            // Release should not throw exception
            assertDoesNotThrow(() -> bufferManager.releaseSendRegion(region));
        }
    
        @Test
        public void testGetReceiveRegion() throws Exception {
            RdmaMemoryRegion region = bufferManager.getReceiveRegion();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class ParameterizedClassDescFactoryTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFieldType() throws Exception {
            final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class);
            final Field field = Hoge.class.getField("foo");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top