Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 270 for RuntimeException (0.11 sec)

  1. android/guava-tests/test/com/google/common/io/IoTestCase.java

        if (testDir != null) {
          return testDir;
        }
    
        URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt");
        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          assertEquals(valueToPut, map.get(null));
          assertTrue(map.containsKey(null));
          assertTrue(map.containsValue(valueToPut));
        } else {
          assertThrows(RuntimeException.class, () -> map.put(null, valueToPut));
        }
        assertInvariants(map);
      }
    
      public void testPutNullValue() {
        if (!supportsPut) {
          return;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          throws InterruptedException {
    
        int count = 10;
        final AtomicInteger callCount = new AtomicInteger();
        final CountDownLatch startSignal = new CountDownLatch(count + 1);
        final RuntimeException e = new RuntimeException();
    
        LoadingCache<String, String> cache =
            builder.build(
                new CacheLoader<String, String>() {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

          readFieldOrNull(context, X509TrustManager::class.java, "trustManager")
        } catch (e: ClassNotFoundException) {
          null
        } catch (e: RuntimeException) {
          // Throws InaccessibleObjectException (added in JDK9) on JDK 17 due to
          // JEP 403 Strongly Encapsulate JDK Internals.
          if (e.javaClass.name != "java.lang.reflect.InaccessibleObjectException") {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractIterator.java

       * result.
       *
       * @return the next element if there was one. If {@code endOfData} was called during execution,
       *     the return value will be ignored.
       * @throws RuntimeException if any unrecoverable error happens. This exception will propagate
       *     outward to the {@code hasNext()}, {@code next()}, or {@code peek()} invocation that invoked
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 02:04:10 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/MethodUtil.java

            try {
                return (T) method.invoke(target, args);
            } catch (final InvocationTargetException ex) {
                final Throwable t = ex.getCause();
                if (t instanceof RuntimeException) {
                    throw (RuntimeException) t;
                }
                if (t instanceof Error) {
                    throw (Error) t;
                }
                throw new InvocationTargetRuntimeException(method.getDeclaringClass(), ex);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

              Set<String> immutableCopy;
              try {
                immutableCopy = copyOf(input);
              } catch (RuntimeException e) {
                throw new RuntimeException(
                    Strings.lenientFormat(
                        "byAscendingSize %s, startIndex %s, inputIsSet %s",
                        byAscendingSize, startIndex, inputIsSet),
                    e);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                                    roleSet.addAll(fessConfig.getSearchGuestRoleList());
                                }
                            });
                } catch (final RuntimeException e) {
                    try {
                        requestManager.findLoginManager(FessUserBean.class).ifPresent(LoginManager::logout);
                    } catch (final Exception e1) {
                        // ignore
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *   <li>subtasks are run with the thread uninterrupted and interrupts received during execution
       *       of a task are ignored.
       * </ol>
       *
       * <p>{@code RuntimeException}s thrown by tasks are simply logged and the executor keeps trucking.
       * If an {@code Error} is thrown, the error will propagate and execution will stop until the next
       * time a task is submitted.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/LittleEndianByteArray.java

                        }
                      }
                      throw new NoSuchFieldError("the Unsafe");
                    });
          } catch (PrivilegedActionException e) {
            throw new RuntimeException("Could not initialize intrinsics", e.getCause());
          }
        }
    
        static {
          theUnsafe = getUnsafe();
          BYTE_ARRAY_BASE_OFFSET = theUnsafe.arrayBaseOffset(byte[].class);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top