Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1701 - 1710 of 1,812 for rethrow (0.04 sec)

  1. android/guava/src/com/google/common/collect/Table.java

     * will change the table.
     *
     * <p>All methods that modify the table are optional, and the views returned by the table may or may
     * not be modifiable. When modification isn't supported, those methods will throw an {@link
     * UnsupportedOperationException}.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableTable}
     *   <li>{@link HashBasedTable}
     *   <li>{@link TreeBasedTable}
     *   <li>{@link ArrayTable}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

         */
        @Test
        @DisplayName("Test constructor throws NullPointerException with null configuration")
        public void testConstructorWithNullConfig() {
            // When & Then - should throw NullPointerException since ServerMessageBlock calls config.getPid()
            NullPointerException exception = assertThrows(NullPointerException.class, () -> {
                smbComTreeDisconnect = new SmbComTreeDisconnect(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SIDCacheImplTest.java

        // Helper to create a SID from text without throwing in the test body
        private static SID sid(String textual) {
            try {
                return new SID(textual);
            } catch (SmbException e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("resolveSids(DcerpcHandle,...) populates acct, domain and type for known types")
        void resolveSids_populatesFields_happyPath() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                fileIdField.setAccessible(true);
                assertArrayEquals(expectedFileId, (byte[]) fileIdField.get(notification));
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadInvalidStructureSize() {
                // Create buffer with invalid structure size
                byte[] buffer = new byte[64];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            rateLimiter.recordFailure(username, ip);
    
            // After 3 failures, account should be locked
            try {
                rateLimiter.checkAttempt(username, ip);
                fail("Should throw SmbException for locked account");
            } catch (SmbException e) {
                assertTrue(e.getMessage().contains("locked out"), "Should indicate account lockout");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                System.setProperty("fess.version", version);
                System.setProperty("fess.product.version", productVersion);
            } catch (final Exception e) {
                throw new FessSystemException("Failed to parse project.properties.", e);
            }
        }
    
        /**
         * Destroys the SystemHelper and executes shutdown hooks.
         */
        @PreDestroy
        public void destroy() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        authentication failures through a single method. An adapter for the old
        authenticator is available in the `okhttp-urlconnection` module.
    
     *  Fix: Don't throw `IOException` on `ResponseBody.contentLength()` or `close()`.
     *  Fix: Never throw converting an `HttpUrl` to a `java.net.URI`. This changes
        the `uri()` method to handle malformed percent-escapes and characters
        forbidden by `URI`.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        public void test_generate_outputFile_null() throws Exception {
            generator.setCommandList(Collections.singletonList("echo test"));
            try {
                generator.generate("test_id", null);
                fail("Should throw exception for null output file");
            } catch (final Exception e) {
                assertTrue(true);
            }
        }
    
        public void test_generate_thumbnailId_null() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

                  case REPLACED:
                    stats[2]++;
                    break;
                  case SIZE:
                    stats[3]++;
                    break;
                  default:
                    throw new IllegalStateException("No collected exceptions in GWT CacheBuilder.");
                }
              }
            };
    
        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. cmd/signature-v4.go

    	if errCode != ErrNone {
    		return errCode
    	}
    
    	cred, _, s3Err := checkKeyValid(r, signV4Values.Credential.accessKey)
    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	// Extract date, if not present throw error.
    	var date string
    	if date = req.Header.Get(xhttp.AmzDate); date == "" {
    		if date = r.Header.Get(xhttp.Date); date == "" {
    			return ErrMissingDateHeader
    		}
    	}
    
    	// Parse date header.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top