Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 2,342 for Exceptions (0.25 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java

            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testWrapMethodIsCalled() throws DcerpcException {
            // Test that the wrap method can be called without throwing an exception
            dcerpcSecurityProvider.wrap(mockNdrBuffer);
    
            // Verify that the wrap method was called exactly once with the mockNdrBuffer
            verify(dcerpcSecurityProvider, times(1)).wrap(mockNdrBuffer);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

            runner.ensureYellow();
            writer = new SuggestIndexWriter();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            runner.admin().indices().prepareDelete("_all").execute().actionGet();
            runner.refresh();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        @DisplayName("Test readBytesWireFormat with invalid structure size throws exception")
        void testReadBytesWireFormatInvalidStructureSize() {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to 4 (invalid, should be 2)
            SMBUtil.writeInt2(4, buffer, bufferIndex);
    
            SMBProtocolDecodingException exception =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

         *
         * @return A new instance of the component specified by componentName
         * @throws Exception if the component cannot be created
         */
        @Override
        @SuppressWarnings("unchecked")
        public T create() throws Exception {
            if (crawlerContainer == null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlingAccessException.java

     */
    package org.codelibs.fess.crawler.exception;
    
    /**
     * CrawlingAccessException is an exception class that represents an issue encountered while accessing a resource during the crawling process.
     * It extends CrawlerSystemException and provides functionality to set and check the log level for the exception.
     *
     * <p>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                return result;
            } catch (Exception e) {
                onFailure();
                throw e;
            }
        }
    
        /**
         * Execute a runnable through the circuit breaker
         *
         * @param runnable the runnable to execute
         * @throws Exception if execution fails or circuit is open
         */
        public void run(Runnable runnable) throws Exception {
            call(() -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java

    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    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.helper.impl.MimeTypeHelperImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

                        }
                    } catch (Exception e) {
                        exception.set(e);
                    } finally {
                        latch.countDown();
                    }
                });
            }
    
            latch.await(30, TimeUnit.SECONDS);
            executor.shutdown();
    
            if (exception.get() != null) {
                throw exception.get();
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 12:03:40 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CloserTest.java

        TestCloseable c2 = closer.register(TestCloseable.normal());
    
        IOException exception = new IOException();
    
        try {
          try {
            throw exception;
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        } catch (Throwable expected) {
          assertSame(exception, expected);
        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/CurlResponse.java

        }
    
        /**
         * Sets the exception that occurred while accessing the content.
         *
         * @param e the exception to set.
         */
        public void setContentException(final Exception e) {
            contentException = e;
        }
    
        /**
         * Gets the exception that occurred while accessing the content, if any.
         *
         * @return the exception, or null if no exception occurred.
         */
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top