Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1251 - 1260 of 2,175 for catch (0.03 sec)

  1. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

                result.setUidNumber(DfTypeUtil.toLong(source.get("uidNumber")));
                result.setX121Address(DfTypeUtil.toString(source.get("x121Address")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

                engineObj.numberOfInFlightFetch = response.getNumberOfInFlightFetch();
                engineObj.status = response.getStatus().name().toLowerCase(Locale.ROOT);
            } catch (final Exception e) {
                engineObj.status = "red";
                engineObj.exception = e.getMessage();
            }
            return engineObj;
        }
    
        public static class FsObj {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        try {
          presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
          absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
        Set<Feature<?>> allPresentFeatures = addImpliedFeatures(copyToSet(presentFeatures));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ContiguousSet.java

          }
          if (!range.hasUpperBound()) {
            effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
          }
        } catch (NoSuchElementException e) {
          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSourceTest.java

       */
      private static int runSuppressionFailureTest(CharSource in, CharSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
          return expected.getSuppressed().length;
        }
        throw new AssertionError(); // can't happen
      }
    
      private static CharSource newNormalCharSource() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        }
    
        boolean run = !isDone();
        T result = null;
        Throwable error = null;
        try {
          if (run) {
            result = runInterruptibly();
          }
        } catch (Throwable t) {
          restoreInterruptIfIsInterruptedException(t);
          error = t;
        } finally {
          // Attempt to set the task as done so that further attempts to interrupt will fail.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularImmutableBiMap.java

          try {
            checkNoConflictInKeyBucket(key, value, nextInKeyBucket, /* throwIfDuplicateKeys= */ true);
            checkNoConflictInValueBucket(value, entry, nextInValueBucket);
          } catch (BucketOverflowException e) {
            return JdkBackedImmutableBiMap.create(n, entryArray);
          }
          ImmutableMapEntry<K, V> newEntry =
              (nextInValueBucket == null && nextInKeyBucket == null)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSourceTest.java

       */
      private static int runSuppressionFailureTest(CharSource in, CharSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
          return expected.getSuppressed().length;
        }
        throw new AssertionError(); // can't happen
      }
    
      private static CharSource newNormalCharSource() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

        }
        return methodsInListener;
      }
    
      private static ImmutableList<Method> getAnnotatedMethods(Class<?> clazz) {
        try {
          return subscriberMethodsCache.getUnchecked(clazz);
        } catch (UncheckedExecutionException e) {
          if (e.getCause() instanceof IllegalArgumentException) {
            /*
             * IllegalArgumentException is the one unchecked exception that we know is likely to happen
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        )
        server.enqueue(MockResponse(body = "ABC"))
        val latch = CountDownLatch(1)
        val responses: BlockingQueue<String?> = SynchronousQueue()
        val authenticator =
          okhttp3.Authenticator { route: Route?, response: Response? ->
            responses.offer(response!!.body.string())
            try {
              latch.await()
            } catch (e: InterruptedException) {
              throw AssertionError()
            }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top