Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 73 for error (0.04 sec)

  1. guava/src/com/google/common/base/FinalizableReferenceQueue.java

           * been cleared by this point.
           */
          reference.clear();
          try {
            ((FinalizableReference) reference).finalizeReferent();
          } catch (Throwable t) {
            logger.log(Level.SEVERE, "Error cleaning up after reference.", t);
          }
        }
      }
    
      /**
       * Iterates through the given loaders until it finds one that can load Finalizer.
       *
       * @return Finalizer.class
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

            waitForInterrupt(currentThread);
          }
          if (run) {
            if (error == null) {
              // The cast is safe because of the `run` and `error` checks.
              afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
            } else {
              afterRanInterruptiblyFailure(error);
            }
          }
        }
      }
    
      @SuppressWarnings({
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSource.java

       * reader each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned reader is closed.
       *
       * @throws IOException if an I/O error occurs while opening the reader
       */
      public abstract Reader openStream() throws IOException;
    
      /**
       * Opens a new {@link BufferedReader} for reading from this source. This method returns a new,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/PreconditionsTest.java

      // 'test' to demonstrate some potentially ambiguous overloads.  This 'test' is kind of strange,
      // but essentially each line will be a call to a Preconditions method that, but for a documented
      // change would be a compiler error.
      // See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2 for the spec on
      // how javac selects overloads
      @SuppressWarnings("null")
      public void overloadSelection() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedInts.java

        try {
          return parseUnsignedInt(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
          throw decodeException;
        }
      }
    
      /**
       * Returns the unsigned {@code int} value represented by the given decimal string.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedInts.java

        try {
          return parseUnsignedInt(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
          throw decodeException;
        }
      }
    
      /**
       * Returns the unsigned {@code int} value represented by the given decimal string.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          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));
        Set<Feature<?>> allAbsentFeatures = copyToSet(absentFeatures);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Streams.java

        // exception later. If more than one stream throws an exception, the later ones are added to the
        // first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed
        // to propagate immediately.
        Exception exception = null;
        for (BaseStream<?, ?> stream : toClose) {
          try {
            stream.close();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. mvnw

        else
          JAVACMD="$JAVA_HOME/bin/java"
        fi
      else
        JAVACMD="$(
          \unset -f command 2>/dev/null
          \command -v java
        )"
      fi
    fi
    
    if [ ! -x "$JAVACMD" ]; then
      echo "Error: JAVA_HOME is not defined correctly." >&2
      echo "  We cannot execute $JAVACMD" >&2
      exit 1
    fi
    
    if [ -z "$JAVA_HOME" ]; then
      echo "Warning: JAVA_HOME environment variable is not set." >&2
    fi
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      private static AssertionError sanityError(
          Class<?> cls, List<String> explicitTestNames, String description, Throwable e) {
        String message =
            String.format(
                Locale.ROOT,
                "Error in automated %s of %s\n"
                    + "If the class is better tested explicitly, you can add %s() to %sTest",
                description,
                cls,
                explicitTestNames.get(0),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top