Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1361 - 1370 of 2,652 for throw (0.02 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

            }
    
            return new AuthScope(getHostname(), p, r, s);
        }
    
        private Credentials getCredentials() {
            if (StringUtil.isEmpty(getUsername())) {
                throw new CrawlerSystemException("username is empty.");
            }
    
            if (Constants.NTLM.equals(getProtocolScheme())) {
                final Map<String, String> parameterMap = ParameterUtil.parse(getParameters());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

        events += "take plan ${result.id}"
    
        if (result.yieldBeforePlanReturns) {
          taskFaker.yield()
        }
    
        val planningThrowable = result.planningThrowable
        if (planningThrowable != null) throw planningThrowable
    
        return result
      }
    
      override fun hasNext(failedConnection: RealConnection?): Boolean {
        return deferredPlans.isNotEmpty() || nextPlanIndex < plans.size || autoGeneratePlans
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

              val responseHeaders = response.headers
              for (i in 0 until responseHeaders.size) {
                println(responseHeaders.name(i) + ": " + responseHeaders.value(i))
              }
              throw IOException("Unexpected code $response")
            }
            println(response.body.string())
    
            for (peerCertificate in response.handshake?.peerCertificates.orEmpty()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

      }
    
      @CollectionSize.Require(ZERO)
      @ListFeature.Require(absent = SUPPORTS_SET)
      public void testSet_unsupportedByEmptyList() {
        try {
          getList().set(0, e3());
          fail("set() should throw UnsupportedOperationException or IndexOutOfBoundsException");
        } catch (UnsupportedOperationException | IndexOutOfBoundsException expected) {
        }
        expectUnchanged();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            this.signSequence = initialSequence;
        }
    
    
        /**
         * 
         * @param transport
         * @param auth
         * @throws SmbException
         */
        public SMB1SigningDigest ( SmbTransportInternal transport, NtlmPasswordAuthenticator auth ) throws SmbException {
            this.digest = Crypto.getMD5();
            try {
                byte[] serverEncryptionKey = transport.getServerEncryptionKey();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CartesianList.java

        try {
          for (int i = axes.size() - 1; i >= 0; i--) {
            axesSizeProduct[i] = IntMath.checkedMultiply(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
        this.axesSizeProduct = axesSizeProduct;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            val matches: List<ResolvedComponentResult> = resolutionResult.allComponents.filter { it != resolutionResult.root }
            if (matches.isEmpty()) {
                throw GradleException("Could not locate any matches for $notation")
            }
            matches.forEach { dep -> dest[name] = (dep.id as ModuleComponentIdentifier).version }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsFileConfigBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends FileConfig> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

          for (RoundingMode mode : modes) {
            Double previous = expectedValues.put(mode, expectedValue);
            if (previous != null) {
              throw new AssertionError();
            }
          }
          return this;
        }
    
        public RoundToDoubleTester roundUnnecessaryShouldThrow() {
          unnecessaryShouldThrow = true;
          return this;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

              logger
                  .get()
                  .log(
                      Level.SEVERE,
                      "Exception while running callbacks for " + listener + " on " + executor,
                      e);
              throw e;
            }
          }
        }
    
        @Override
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        public void run() {
          boolean stillRunning = true;
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top