Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1861 - 1870 of 1,947 for threw (0.07 sec)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

                  @Override
                  public MediaType apply(Field input) {
                    try {
                      return (MediaType) input.get(null);
                    } catch (Exception e) {
                      throw new RuntimeException(e);
                    }
                  }
                });
      }
    
      public void testCreate_invalidType() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                Arrays.fill(shortFileId, (byte) 0xAB);
                request.setFileId(shortFileId);
    
                byte[] buffer = new byte[256];
    
                // Should handle gracefully or throw appropriate exception
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> request.writeBytesWireFormat(buffer, 0));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                }
                // TODO options query
                context.accept(queryContext);
            } catch (final QueryParseException e) {
                throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryParseError(UserMessages.GLOBAL_PROPERTY_KEY),
                        "Invalid query: " + queryContext.getQueryString(), e);
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FilesTest.java

            assertFalse(from.exists());
            assertTrue(to.exists());
          } else {
            fail("expected exception");
          }
        } catch (IOException possiblyExpected) {
          if (success) {
            throw possiblyExpected;
          }
        }
      }
    
      private static class UnmovableFile extends File {
    
        private final boolean canRename;
        private final boolean canDelete;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

      public static class WithExceptionalConstructor {
        public static final WithExceptionalConstructor INSTANCE =
            new WithExceptionalConstructor("whatever");
    
        public WithExceptionalConstructor() {
          throw new RuntimeException();
        }
    
        private WithExceptionalConstructor(String unused) {}
      }
    
      private static class WithPublicConstant {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                Arrays.fill(shortFileId, (byte) 0xAB);
                request.setFileId(shortFileId);
    
                byte[] buffer = new byte[256];
    
                // Should handle gracefully or throw appropriate exception
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> request.writeBytesWireFormat(buffer, 0));
            }
    
            @Test
            @DisplayName("Should handle all parameters at maximum")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  7. docs/smb3-features/01-smb3-lease-design.md

        
        public Smb2LeaseKey() {
            this.key = new byte[16];
            random.nextBytes(this.key);
        }
        
        public Smb2LeaseKey(byte[] key) {
            if (key.length != 16) {
                throw new IllegalArgumentException("Lease key must be 16 bytes");
            }
            this.key = Arrays.copyOf(key, 16);
        }
        
        public byte[] getKey() {
            return Arrays.copyOf(key, 16);
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. docs/bigdata/README.md

    It was found that the directory staging committer was the fastest among the three, S3A connector should be configured with the following parameters for optimal results:
    
    ```
    cat ${HADOOP_CONF_DIR}/core-site.xml | kv-pairify | grep "s3a"
    
    fs.s3a.access.key=minio
    fs.s3a.secret.key=minio123
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                analyzerMap.put(analyzerSettingsIndexName, getAnalyzerNames());
                fieldAnalyzerMappingMap.put(analyzerSettingsIndexName, getFieldAnalyzerMapping());
            } catch (final IOException e) {
                throw new SuggestSettingsException("Failed to create mappings.");
            }
        }
    
        /**
         * Returns the name of the analyzer settings index.
         * @return The analyzer settings index name.
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                            Collections.emptyList());
                } catch (InvalidVersionSpecificationException e) {
                    throw new ArtifactMetadataRetrievalException("Invalid version creating artifacts", e, artifact);
                }
            }
    
            private String getKey(Artifact artifact) {
                return artifact.getDependencyConflictId();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
Back to top