Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for error (3.08 sec)

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

        }
    
        return closeable;
      }
    
      /**
       * Stores the given throwable and rethrows it. It will be rethrown as is if it is an {@code
       * IOException}, {@code RuntimeException} or {@code Error}. Otherwise, it will be rethrown wrapped
       * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
       * types your try block can throw when calling an overload of this method so as to avoid losing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CloserTest.java

            new Suppression(c1, tryException, c1Exception));
      }
    
      public void testErrors() throws IOException {
        Closer closer = new Closer(suppressor);
    
        Error c1Exception = new Error();
        Error c2Exception = new Error();
        Error c3Exception = new Error();
    
        TestCloseable c1 = closer.register(TestCloseable.throwsOnClose(c1Exception));
        TestCloseable c2 = closer.register(TestCloseable.throwsOnClose(c2Exception));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                throw new RepositoryMetadataDeploymentException("Error installing metadata: " + e.getMessage(), e);
            }
    
            try {
                wagonManager.putArtifactMetadata(file, metadata, deploymentRepository);
            } catch (TransferFailedException e) {
                throw new RepositoryMetadataDeploymentException("Error while deploying metadata: " + e.getMessage(), e);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Optional.java

       *
       * <pre>{@code
       * Optional<Integer> optionalInt = getSomeOptionalInt();
       * Number value = optionalInt.or(0.5); // error
       *
       * FluentIterable<? extends Number> numbers = getSomeNumbers();
       * Optional<? extends Number> first = numbers.first();
       * Number value = first.or(0.5); // error
       * }</pre>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CloserTest.java

            new Suppression(c1, tryException, c1Exception));
      }
    
      public void testErrors() throws IOException {
        Closer closer = new Closer(suppressor);
    
        Error c1Exception = new Error();
        Error c2Exception = new Error();
        Error c3Exception = new Error();
    
        TestCloseable c1 = closer.register(TestCloseable.throwsOnClose(c1Exception));
        TestCloseable c2 = closer.register(TestCloseable.throwsOnClose(c2Exception));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Optional.java

       *
       * <pre>{@code
       * Optional<Integer> optionalInt = getSomeOptionalInt();
       * Number value = optionalInt.or(0.5); // error
       *
       * FluentIterable<? extends Number> numbers = getSomeNumbers();
       * Optional<? extends Number> first = numbers.first();
       * Number value = first.or(0.5); // error
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilter.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A Bloom filter for instances of {@code T}. A Bloom filter offers an approximate containment test
     * with one-sided error: if it claims that an element is contained in it, this might be in error,
     * but if it claims that an element is <i>not</i> contained in it, then this is definitely true.
     *
     * <p>If you are unfamiliar with Bloom filters, this nice <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         * @param test the test output directory, or {@code null} if none
         * @param cache cache of module information about each dependency
         * @throws IOException if an error occurred while reading module information
         *
         * TODO: this is currently not called
         */
        void addOutputDirectory(Path main, Path test, PathModularizationCache cache) throws IOException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         *
         * @param path directory or JAR file to test
         * @param resolve whether the module names are requested. If false, null values may be used instead
         * @throws IOException if an error occurred while reading the JAR file or the module descriptor
         */
        PathModularization(Path path, boolean resolve) throws IOException {
            if (Files.isDirectory(path)) {
                /*
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/MethodUtil.java

                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);
            } catch (final IllegalAccessException ex) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.8K bytes
    - Viewed (0)
Back to top