Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 1,947 for threw (0.02 sec)

  1. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            }
    
            try {
                securityDescriptor = new SecurityDescriptor();
                bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (final IOException ioe) {
                throw new RuntimeException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("NtTransQuerySecurityResponse[" + super.toString() + "]");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

        }
    
        public void test_sort_withNullArrays() {
            // Test sort with null arrays doesn't throw exception
            CharMappingItem item = new CharMappingItem(1L, new String[] { "a" }, "output");
            item.setNewInputs(null);
    
            // Should not throw exception
            item.sort();
    
            // Original inputs should still be sorted
            assertEquals("a", item.getInputs()[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          extensionContext: ExtensionContext,
        ) {
          var failed = false
          try {
            invocation.proceed()
          } catch (e: TestAbortedException) {
            throw e
          } catch (e: Throwable) {
            failed = true
            rethrowIfNotExpected(e)
          } finally {
            resetPlatform()
          }
          if (!failed) {
            failIfExpected()
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        @SuppressWarnings("unchecked")
        @Override
        public <T extends DfsReferralData> T unwrap(final Class<T> type) {
            if (type.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
            throw new ClassCastException();
        }
    
        @Override
        public long getExpiration() {
            return this.expiration;
        }
    
        @Override
        public int getPathConsumed() {
            return this.pathConsumed;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

                }
            };
    
            // When/Then
            assertFalse(iterator.hasNext(), "Empty iterator should not have elements");
            // The iterator returns null when no elements, doesn't throw exception
            assertNull(iterator.next(), "Should return null when no elements");
        }
    
        /**
         * Test close method delegates to underlying iterator.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

          Request
            .Builder()
            .url("http://publicobject.com/secrets/hellosecret.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    }
    
    fun main() {
      Authenticate().run()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ParseRequest.java

      private ParseRequest(String rawValue, int radix) {
        this.rawValue = rawValue;
        this.radix = radix;
      }
    
      static ParseRequest fromString(String stringValue) {
        if (stringValue.length() == 0) {
          throw new NumberFormatException("empty string");
        }
    
        // Handle radix specifier if present
        String rawValue;
        int radix;
        char firstChar = stringValue.charAt(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * buildOrThrow(), or vice versa. So in particular, if we modify alternatingKeysAndValues to
       * eliminate duplicate keys (for buildKeepingLast()) then we have to ensure that a later call to
       * buildOrThrow() will still throw as if the duplicates had not been eliminated. And the exception
       * message must mention two values that were associated with the duplicate key in two different
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                referralData.setKey("key");
                // Should not throw exception
                referralData.replaceCache();
            }
    
            @Test
            @DisplayName("Should not replace cache when key is null")
            void testReplaceCacheWithNullKey() {
                referralData.setCacheMap(cacheMap);
                // Should not throw exception
                referralData.replaceCache();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String componentName = "cacheManager";
            try {
                throw new ContainerNotAvailableException(componentName);
            } catch (ContainerNotAvailableException e) {
                assertEquals(componentName + " is not available.", e.getMessage());
                assertNull(e.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top