Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,299 for throws (0.34 sec)

  1. android/guava/src/com/google/common/collect/Ordering.java

       * @throws NoSuchElementException if {@code iterator} is empty
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
       *     ordering.
       * @since 11.0
       */
      @ParametricNullness
      public <E extends T> E min(Iterator<E> iterator) {
        // let this throw NoSuchElementException as necessary
        E minSoFar = iterator.next();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedSpecInterceptor.groovy

        }
    
        private class ToBeFixedInterceptor implements IMethodInterceptor {
    
            @Override
            void intercept(IMethodInvocation invocation) throws Throwable {
                if (failsAsExpected(invocation, feature)) {
                    return
                }
                throw new UnexpectedSuccessException(feature)
            }
        }
    
        private class ToBeFixedIterationInterceptor implements IMethodInterceptor {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 13:10:05 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

         * @return where to place the dependency, or an empty value if the placement cannot be determined
         * @throws IOException if an error occurred while reading module information
         */
        Optional<PathType> selectPathType(Set<PathType> types, Predicate<PathType> filter, Path path) throws IOException {
            PathType selected = null;
            boolean classes = false;
            boolean modules = false;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ClassLoaderObjectInputStream.java

                        throw new UnsupportedClassVersionErrorWithJavaVersion(e, JavaVersion.forClassVersion(majorVersion));
                    }
                    // We could not find the class. Throw the original error.
                    throw e;
                } catch (IOException ignored) {
                    // There was an error parsing the class. Throw the original error.
                    throw e;
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        }
      }
    
      private void runTestMethod(ClassLoader classLoader) throws Exception {
        Class<?> test = classLoader.loadClass(AbstractFutureTest.class.getName());
        test.getMethod(getName()).invoke(test.getDeclaredConstructor().newInstance());
      }
    
      private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName)
          throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/NullSafeStringSerializer.java

    public class NullSafeStringSerializer implements Serializer<String> {
        @Override
        public String read(Decoder decoder) throws Exception {
            return decoder.readNullableString();
        }
    
        @Override
        public void write(Encoder encoder, String value) throws Exception {
            encoder.writeNullableString(value);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 989 bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

        private Artifact projectArtifact;
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
            projectArtifact = createLocalArtifact("project", "3.0");
        }
    
        @Override
        protected String component() {
            return "resolver";
        }
    
        @Test
        void testMNG4738() throws Exception {
            Artifact g = createLocalArtifact("g", "1.0");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        MetadataGraphVertex v2;
        MetadataGraphVertex v3;
        MetadataGraphVertex v4;
    
        // ------------------------------------------------------------------------------------------
        @BeforeEach
        void setUp() throws Exception {
            graph = new MetadataGraph(4, 3);
            /*
             *       v2
             *   v1<
             *       v3-v4
             *
             */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/StreamZipInput.java

                    } catch (IOException e) {
                        throw new FileException(e);
                    }
                    return nextEntry == null ? endOfData() : new StreamZipEntry(nextEntry);
                }
            };
        }
    
        @Override
        public void close() throws IOException {
            inputStream.close();
        }
    
        private class StreamZipEntry extends AbstractZipEntry {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

            if (stack == null || stack.isEmpty()) {
                throw new IllegalStateException();
            }
            return stack.getFirst();
        }
    
        public void exit() throws MojoExecutionException {
            final LinkedList<ScopeState> stack = values.get();
            if (stack == null || stack.isEmpty()) {
                throw new IllegalStateException();
            }
            stack.removeFirst();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top