Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 122 for Message (0.16 sec)

  1. android/guava/src/com/google/common/io/TempFileCreator.java

                + " see the Javadoc for Files.createTempDir().";
    
        @Override
        File createTempDir() {
          throw new IllegalStateException(MESSAGE);
        }
    
        @Override
        File createTempFile(String prefix) throws IOException {
          throw new IOException(MESSAGE);
        }
      }
    
      private TempFileCreator() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

            tester.numCallsToVerify,
            tester.numCallsToNewTargetIterator * STEPS);
      }
    
      public void testVerifyCanThrowAssertionThatFailsTest() {
        final String message = "Important info about why verify failed";
        IteratorTester<Integer> tester =
            new IteratorTester<Integer>(
                1, MODIFIABLE, newArrayList(1, 2, 3), IteratorTester.KnownOrder.KNOWN_ORDER) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          if (overWaitUnits > 0) {
            message += overWaitUnits + " " + unitString;
            if (shouldShowExtraNanos) {
              message += ",";
            }
            message += " ";
          }
          if (shouldShowExtraNanos) {
            message += overWaitLeftoverNanos + " nanoseconds ";
          }
    
          message += "delay)";
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          statsCounter.recordLoadException(ticker.read() - startTime);
          throw new ExecutionError(e);
        }
    
        if (calculatedValue == null) {
          String message = loader + " returned null for key " + key + ".";
          throw new CacheLoader.InvalidCacheLoadException(message);
        }
        statsCounter.recordLoadSuccess(ticker.read() - startTime);
        return calculatedValue;
      }
    
      private V getIfPresent(Object key) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              }
            };
    
        private PermittedMetaException(String message) {
          super(message);
        }
    
        abstract boolean isPermitted(Exception exception);
    
        void assertPermitted(Exception exception) {
          if (!isPermitted(exception)) {
            String message =
                "Exception "
                    + exception.getClass().getSimpleName()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheLoader.java

       *
       * @since 11.0
       */
      public static final class InvalidCacheLoadException extends RuntimeException {
        public InvalidCacheLoadException(String message) {
          super(message);
        }
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/MacHashFunction.java

          }
        }
        return new MacHasher(getMac(prototype.getAlgorithm(), key));
      }
    
      @Override
      public String toString() {
        return toString;
      }
    
      /** Hasher that updates a {@link Mac} (message authentication code). */
      private static final class MacHasher extends AbstractByteHasher {
        private final Mac mac;
        private boolean done;
    
        private MacHasher(Mac mac) {
          this.mac = mac;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 15 22:31:55 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CollectPreconditions.java

          throw new IllegalArgumentException(name + " must be positive but was: " + value);
        }
      }
    
      /**
       * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent
       * error message.
       */
      static void checkRemove(boolean canRemove) {
        checkState(canRemove, "no calls to next() since the last call to remove()");
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Jun 30 10:33:07 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CollectPreconditions.java

          throw new IllegalArgumentException(name + " must be positive but was: " + value);
        }
      }
    
      /**
       * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent
       * error message.
       */
      static void checkRemove(boolean canRemove) {
        checkState(canRemove, "no calls to next() since the last call to remove()");
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Jun 30 10:33:07 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          log(throwable);
        }
      }
    
      private static void log(Throwable throwable) {
        String message =
            (throwable instanceof Error)
                ? "Input Future failed with Error"
                : "Got more than one input Future failure. Logging failures after the first";
        logger.get().log(SEVERE, message, throwable);
      }
    
      @Override
      final void addInitialException(Set<Throwable> seen) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top