Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 2,469 for threw (0.03 seconds)

  1. guava/src/com/google/common/cache/CacheBuilderSpec.java

              break;
            default:
              throw new AssertionError();
          }
        }
        if (valueStrength != null) {
          switch (valueStrength) {
            case SOFT:
              builder.softValues();
              break;
            case WEAK:
              builder.weakValues();
              break;
            default:
              throw new AssertionError();
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/dcerpc/rpc.java

                final int _nodei = _src.index;
                _src.advance(1 * _nodes);
    
                if (this.node == null) {
                    if (_nodes < 0 || _nodes > 0xFFFF) {
                        throw new NdrException(NdrException.INVALID_CONFORMANCE);
                    }
                    this.node = new byte[_nodes];
                }
                _src = _src.derive(_nodei);
                for (int _i = 0; _i < _nodes; _i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/pac/PacMac.java

                    if (key == null) {
                        throw new PACDecodingException("Missing key");
                    }
                    return calculateMacArcfourHMACMD5(usage, key, data);
                } else {
                    if ((type != PacSignature.HMAC_SHA1_96_AES128) && (type != PacSignature.HMAC_SHA1_96_AES256)) {
                        throw new PACDecodingException("Invalid MAC algorithm");
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            validateIdentity();
        }
    
        private void validateIdentity() {
            if (empty(groupId)) {
                throw new InvalidArtifactRTException(
                        groupId, artifactId, getVersion(), type, "The groupId cannot be empty.");
            }
    
            if (empty(artifactId)) {
                throw new InvalidArtifactRTException(
                        groupId, artifactId, getVersion(), type, "The artifactId cannot be empty.");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  5. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java

         */
        public void additionalLicense(final String categoryName, String familyName, String pattern) {
            if (categoryName.length() != 5) {
                throw new IllegalArgumentException("License category name must be exactly 5 characters, got " + categoryName);
            }
    
            additionalLicenses.put(categoryName + familyName, pattern);
        }
    
        @TaskAction
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

            if (name == null) {
                throw new ScriptEngineException("Script engine name parameter is null. A valid script engine name must be provided.");
            }
            final ScriptEngine scriptEngine = scriptEngineMap.get(name.toLowerCase(Locale.ROOT));
            if (scriptEngine != null) {
                return scriptEngine;
            }
            throw new ScriptEngineException(name + " is not found.");
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            testData.add(createRelatedQuery("term2", new String[] { "query3" }, ""));
            mockBhv.setTestData(testData);
    
            int count = relatedQueryHelper.load();
            assertEquals(3, count); // Three virtual host keys: "host1", "host2", ""
        }
    
        @Test
        public void test_load_sameTermDifferentHosts() {
            List<RelatedQuery> testData = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java

            assertEquals(500L, controller.getDelayMillisBeforeProcessing());
            assertEquals(1500L, controller.getDelayMillisForWaitingNewUrl());
        }
    
        /**
         * Test that delayForWaitingNewUrl doesn't throw exceptions
         * This tests the improved error handling with proper logging
         * Note: This is a basic smoke test since full integration testing
         * requires ComponentUtil and other dependencies
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java

            ProjectBuildList projectBuilds = null;
            MavenExecutionResult result = session.getResult();
    
            try {
                if (buildExecutionRequiresProject(session) && projectIsNotPresent(session)) {
                    throw new MissingProjectException("The goal you specified requires a project to execute"
                            + " but there is no POM in this directory (" + session.getExecutionRootDirectory() + ")."
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                                splitExpr = ">";
                            } else {
                                throw new IllegalArgumentException("Unrecognized entry: " + l);
                            }
                            String[] parts = l.split(splitExpr);
                            if (parts.length < 1) {
                                throw new IllegalArgumentException("Unrecognized entry: " + l);
                            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top