Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 2,976 for throw (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

         *
         * @param accessResult the access result to store
         * @throws CrawlerSystemException if the access result is null or already exists
         */
        @Override
        public void store(final AccessResultImpl<Long> accessResult) {
            if (accessResult == null) {
                throw new CrawlerSystemException("AccessResult is null.");
            }
    
            synchronized (idCountLock) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      try {
        close()
      } catch (e: AssertionError) {
        throw e
      } catch (rethrown: RuntimeException) {
        if (rethrown.message == "bio == null") {
          // Conscrypt in Android 10 and 11 may throw closing an SSLSocket. This is safe to ignore.
          // https://issuetracker.google.com/issues/177450597
          return
        }
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @throws IllegalAccessRuntimeException {@link IllegalAccessException} if an error occurs
         * @see Field#getInt(Object)
         */
        public static int getInt(final Field field, final Object target) throws IllegalAccessRuntimeException {
            assertArgumentNotNull("field", field);
    
            try {
                return field.getInt(target);
            } catch (final IllegalAccessException ex) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String username = "nonexistentuser";
    
            try {
                throw new FessUserNotFoundException(username);
            } catch (FessUserNotFoundException e) {
                assertEquals("User is not found: nonexistentuser", e.getMessage());
                assertNull(e.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

                assertEquals("Array element at index " + i + " differs", expected[i], actual[i]);
            }
        }
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            crawlJob = new CrawlJob();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        // Test constructor and field initialization
        public void test_constructor() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/HandlerTest.java

                    "Setting the factory for the first time should not throw an exception.");
        }
    
        @Test
        void testSetURLStreamHandlerFactory_ThrowsIllegalStateExceptionOnSecondAttempt() {
            // This test ensures that attempting to set the URLStreamHandlerFactory more than once
            // throws an IllegalStateException as per the contract.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        } catch (ExecutionException e) {
          throw e.getCause();
        }
      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * throws an {@code ExecutableException} and that the cause of the {@code ExecutableException} is
       * {@code expectedCause}.
       */
      public void assertException(Throwable expectedCause) throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multimaps.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                    // Then
                    assertEquals(4, bytesRead, "Failed at position " + pos);
                }
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidStructureSize() {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top