Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,414 for captcha (0.15 sec)

  1. tests/test_ws_router.py

        # and no error is leaked
        assert caught == []
    
    
    def test_depend_err_middleware():
        """
        Verify that it is possible to write custom WebSocket middleware to catch errors
        """
    
        @websocket_middleware
        async def errorhandler(websocket: WebSocket, call_next):
            try:
                return await call_next()
            except Exception as e:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            File psOutFile = new File(rootProjectDir, timestamp + ".psoutput");
    
            try {
                Files.write(psOutFile.toPath(), psOutput);
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    
        private static void cleanPsOutputAndThreaddumpFilesFromPreviousRun(File rootProjectDir) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

                try {
                    accessTokenService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

            getLabelType(form).ifPresent(entity -> {
                try {
                    labelTypeService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                parser.setDefaultOperator(StandardQueryConfigHandler.Operator.AND);
    
                termQueryList = getTermQueryList(parser.parse(q, "default"), fields);
            } catch (final Exception e) {
                return keywords;
            }
            for (final TermQuery tq : termQueryList) {
                final String text = tq.getTerm().text();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

            try {
                org.apache.maven.api.model.Model model =
                        delegate.read(reader, strict, source != null ? source.toApiSource() : null);
                return new Model(model);
            } catch (XMLStreamException e) {
                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    
        /**
         *
         * @param reader a reader object.
         * @param strict a strict object.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

                .isNotEqualTo(paramType);
          } catch (IllegalArgumentException notSubtype1) {
            // The raw class isn't even a subclass.
          }
        }
        if (!spec.suppressGetSupertype()) {
          try {
            assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType()))
                .isNotEqualTo(returnType);
          } catch (IllegalArgumentException notSubtype2) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/DuplexTest.kt

                        sink.writeUtf8(".")
                        sink.flush()
                        Thread.sleep(100)
                      }
                    } catch (e: IOException) {
                      log.add(e.toString())
                      throw e
                    } catch (e: Exception) {
                      log.add(e.toString())
                    }
                  }
                },
              )
              .build(),
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

              ByteStreams.exhaust(decodingStream);
              fail("Expected DecodingException");
            } catch (DecodingException expected) {
              // Don't assert on the expectedMessage; the messages for exceptions thrown from the
              // decoding stream may differ from the messages for the decode methods.
            } catch (IOException e) {
              fail("Expected DecodingException but got: " + e);
            }
          }
        };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/Types.java

            try {
              Method getTypeName = Type.class.getMethod("getTypeName");
              return (String) getTypeName.invoke(type);
            } catch (NoSuchMethodException e) {
              throw new AssertionError("Type.getTypeName should be available in Java 8");
            } catch (InvocationTargetException | IllegalAccessException e) {
              throw new RuntimeException(e);
            }
          }
        },
        JAVA9 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top