Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1471 - 1480 of 2,371 for Try (0.01 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_unsupportedPresent() {
        try {
          assertFalse("add(present) should return false or throw", collection.add(e0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/ComponentUtil.java

         * Executes all initialization processes.
         * @param action The action to perform on each initialization process.
         */
        public static void doInitProcesses(final Consumer<? super Runnable> action) {
            try {
                initProcesses.forEach(action);
            } finally {
                initProcesses.clear();
            }
        }
    
        /**
         * Gets a cached cipher by name.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  3. docs_src/security/tutorial004_an_py310.py

        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": "Bearer"},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username = payload.get("sub")
            if username is None:
                raise credentials_exception
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/sub-applications.md

    You will see the automatic API docs for the sub-application, including only its own _path operations_, all under the correct sub-path prefix `/subapi`:
    
    <img src="/img/tutorial/sub-applications/image02.png">
    
    If you try interacting with any of the two user interfaces, they will work correctly, because the browser will be able to talk to each specific app or sub-app.
    
    ### Technical Details: `root_path` { #technical-details-root-path }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java

                boolean hasPriority;
                int priority;
                if (priorityEnd < phaseEnd + 1) {
                    priority = 0;
                    hasPriority = false;
                } else {
                    try {
                        priority = Integer.parseInt(phase.substring(phaseEnd + 1, priorityEnd));
                        hasPriority = true;
                    } catch (NumberFormatException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

                super.lookup(context);
                context.goals = context.lookup.lookupMap(Goal.class);
            }
        }
    
        @Override
        protected int execute(EncryptContext context) throws Exception {
            try {
                context.header = new ArrayList<>();
                context.style = new AttributedStyle();
                context.addInHeader(
                        context.style.italic().bold().foreground(Colors.rgbColor("green")),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

                super.lookup(context);
                context.goals = context.lookup.lookupMap(Goal.class);
            }
        }
    
        @Override
        protected int execute(UpgradeContext context) throws Exception {
            try {
                context.header = new ArrayList<>();
                context.style = new AttributedStyle();
                context.addInHeader(
                        context.style.italic().bold().foreground(Colors.rgbColor("green")),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

                throw new IllegalArgumentException(
                        "It is not allowed to use [" + USER_DICT_PATH_OPTION + "] in conjunction" + " with [" + USER_DICT_RULES_OPTION + "]");
            }
            try {
                Set<String> dup = new HashSet<>();
                List<String> ruleList =
                        Analysis.parseWordList(env, settings, USER_DICT_PATH_OPTION, USER_DICT_RULES_OPTION, s -> parse(s, dup));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

         * @param server
         * @return
         */
        private static byte[] makeTargetInfo(final CIFSContext tc, final String domainStr) {
            byte[] domain = {};
            if (domainStr != null) {
                try {
                    domain = domainStr.getBytes(UNI_ENCODING);
                } catch (final IOException ex) {
                    log.debug("Failed to get domain bytes", ex);
                }
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

       */
      @SuppressWarnings("nullness") // test of a bogus call
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
          fail("Escaping null string should throw exception");
        } catch (NullPointerException x) {
          // pass
        }
    
        // All URL escapers should leave 0-9, A-Z, a-z unescaped
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
Back to Top