Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 1,922 for Try (0.02 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

            verifyCrudMode(form.crudMode, CrudMode.CREATE);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getRelatedQuery(form).ifPresent(entity -> {
                try {
                    relatedQueryService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

            if (realm == null) realm = "jCIFS";
    
            if(( level = Config.getInt( "jcifs.smb1.util.loglevel", -1 )) != -1 ) {
                LogStream.setLevel( level );
            }
            if( log.level > 2 ) {
                try {
                    Config.store( log, "JCIFS PROPERTIES" );
                } catch( IOException ioe ) {
                }
            }
        }
    
        public void destroy() {
        }
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                        try {
                            return Optional.of(injector.getInstance(type));
                        } catch (DIException e) {
                            return Optional.empty();
                        }
                    }
    
                    @Override
                    public <T> Optional<T> lookupOptional(Class<T> type, String name) {
                        try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

          throws InterruptedException, TimeoutException {
        assertDone(future);
        assertThat(future.isCancelled()).isFalse();
    
        try {
          getDone(future);
          fail();
        } catch (ExecutionException e) {
          assertThat(e.getCause()).isSameInstanceAs(expectedException);
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SpnegoContext.java

     */
    class SpnegoContext implements SSPContext {
    
        private static final Logger log = LoggerFactory.getLogger(SpnegoContext.class);
    
        private static ASN1ObjectIdentifier SPNEGO_MECH_OID;
    
        static {
            try {
                SPNEGO_MECH_OID = new ASN1ObjectIdentifier("1.3.6.1.5.5.2");
            }
            catch ( IllegalArgumentException e ) {
                log.error("Failed to initialize OID", e);
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

                        }));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "computeIfAbsent(present, returnsCurrentValue) should return present or throw",
              v0(),
              getMap()
                  .computeIfAbsent(
                      k0(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

            .build();
    
        System.out.println("REQUEST 1 (new connection)");
        try (Response response = client.newCall(request).execute()) {
          // Consume and discard the response body.
          response.body().source().readByteString();
        }
    
        System.out.println("REQUEST 2 (pooled connection)");
        try (Response response = client.newCall(request).execute()) {
          // Consume and discard the response body.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

            final String[] baseFields = fields != null ? fields : fessConfig.getSuggestPopularWordFieldsAsArray();
            final String[] baseExcludes = excludes != null ? excludes : fessConfig.getSuggestPopularWordExcludesAsArray();
            try {
                return cache.get(getCacheKey(baseSeed, baseTags, baseRoles, baseFields, baseExcludes), () -> {
                    final List<String> wordList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

          assertThat(response.code).isEqualTo(200)
        }
      }
    
      @Test
      fun testRequestInvalid() {
        val call = client.newCall(Request("https://google.invalid/".toHttpUrl()))
    
        try {
          call.execute()
          fail("Request can't succeed")
        } catch (ioe: IOException) {
          assertThat(ioe).hasMessage("No results for google.invalid")
        }
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java

        @Override
        protected final void doStart() {
          MoreExecutors.renamingDecorator(executor(), threadNameSupplier)
              .execute(
                  () -> {
                    try {
                      startUp();
                      notifyStarted();
                    } catch (Throwable t) {
                      restoreInterruptIfIsInterruptedException(t);
                      notifyFailed(t);
                    }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top