Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 1,947 for threw (0.02 sec)

  1. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                    if (response.getContentException() != null) {
                        throw new FessSystemException(message, response.getContentException());
                    }
                    throw new FessSystemException(message);
                } catch (final Exception e) {
                    cause = new FessSystemException("Configsync is not available.", e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            DataStoreException exception = new DataStoreException("Serialization test");
    
            // Check that it's a RuntimeException and can be thrown
            try {
                throw exception;
            } catch (DataStoreException e) {
                assertEquals("Serialization test", e.getMessage());
            } catch (Exception e) {
                fail("Should have caught DataStoreException");
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

        // We may have been asked to cancel while creating the new stream and sending the request
        // headers, but there was still no stream to close.
        if (canceled) {
          stream!!.closeLater(ErrorCode.CANCEL)
          throw IOException("Canceled")
        }
        stream!!.readTimeout().timeout(chain.readTimeoutMillis.toLong(), TimeUnit.MILLISECONDS)
        stream!!.writeTimeout().timeout(chain.writeTimeoutMillis.toLong(), TimeUnit.MILLISECONDS)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

        public void test_hook_normalExecution() {
            // Create a mock FwAssistantDirector
            FwAssistantDirector assistantDirector = createMockAssistantDirector();
    
            // Should not throw any exception during normal execution
            curtainFinallyHook.hook(assistantDirector);
    
            // Verify that the method completes without errors
            assertTrue(true); // Method completed successfully
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            jobExecutor.shutdown();
            assertTrue(shutdownCalled.get());
        }
    
        public void test_shutdown_withoutListener() {
            // Test shutdown without listener should throw NullPointerException
            try {
                jobExecutor.shutdown();
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

          return insertionOrder;
        }
      }
    
      private interface One {}
    
      private interface Two {}
    
      private interface Three {}
    
      private interface Four {}
    
      private interface Five {}
    
      static final class Impl implements One, Two, Three, Four, Five, Serializable {
        final int value;
    
        Impl(int value) {
          this.value = value;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                throw new RuntimeCIFSException("Test exception");
            });
    
            // Test that it can be caught specifically
            assertThrows(RuntimeCIFSException.class, () -> {
                throw new RuntimeCIFSException("Test exception");
            });
    
            // Test exception handling behavior
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/QueryProcessor.java

         * @throws IllegalArgumentException if name or queryCommand is null
         */
        public void add(final String name, final QueryCommand queryCommand) {
            if (name == null || queryCommand == null) {
                throw new IllegalArgumentException("name or queryCommand is null.");
            }
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", name);
            }
            queryCommandMap.put(name, queryCommand);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

            try {
                this.next = open();
                if (this.next == null) {
                    doClose();
                }
            } catch (final Exception e) {
                doClose();
                throw e;
            }
    
        }
    
        /**
         * Gets the SMB tree handle for this iterator.
         *
         * @return the treeHandle
         */
        public final SmbTreeHandleImpl getTreeHandle() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            // Assert: interaction happened and did not throw
            verify(handle, times(1)).ensureDFSResolved();
            verifyNoMoreInteractions(handle);
        }
    
        @Test
        @DisplayName("ensureDFSResolved(): throws CIFSException when underlying call fails")
        void ensureDFSResolved_throws() throws Exception {
            // Arrange: configure the mock to throw
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top