Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,001 for throws (0.16 sec)

  1. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

        @Override
        public org.apache.maven.model.Model read(File file, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(file, "file cannot be null");
            return read(file.toPath(), options);
        }
    
        @Override
        public org.apache.maven.model.Model read(Path path, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(path, "path cannot be null");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/preconditions/PluginTestPreconditions.groovy

            @Override
            boolean isSatisfied() throws Exception {
                return satisfied(UnitTestPreconditions.UnixDerivative) && locate("bash") != null
            }
        }
    
        static class DashAvailable implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return satisfied(UnitTestPreconditions.UnixDerivative) && locate("dash") != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            return "updateCheckManager";
        }
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            updateCheckManager = new DefaultUpdateCheckManager(new ConsoleLogger(Logger.LEVEL_DEBUG, "test"));
        }
    
        @Test
        void testArtifact() throws Exception {
            ArtifactRepository remoteRepository = remoteRepository();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ConfigurationContainer.java

        Configuration getByName(String name) throws UnknownConfigurationException;
    
        /**
         * {@inheritDoc}
         */
        @Override
        Configuration getAt(String name) throws UnknownConfigurationException;
    
        /**
         * {@inheritDoc}
         */
        @Override
        Configuration getByName(String name, @DelegatesTo(Configuration.class) Closure configureClosure) throws UnknownConfigurationException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

            return path;
        }
    
        @Deprecated
        public void merge(File existing, File result) throws RepositoryException {
            merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null);
        }
    
        @Override
        public void merge(Path existing, Path result) throws RepositoryException {
            Metadata recessive = read(existing);
    
            merge(recessive);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultBuildActionExecuter.java

            return getThis();
        }
    
        @Override
        public T run() throws GradleConnectionException {
            BlockingResultHandler<Object> handler = new BlockingResultHandler<Object>(Object.class);
            run(handler);
            return Cast.uncheckedNonnullCast(handler.getResult());
        }
    
        @Override
        public void run(ResultHandler<? super T> handler) throws IllegalStateException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/async/ServiceLifecycleTest.groovy

            then:
            noExceptionThrown()
        }
    
        def "throws exception when attempting to use service after it has stopped"() {
            when:
            lifecycle.stop()
            lifecycle.use { }
    
            then:
            IllegalStateException e = thrown()
            e.message == 'Cannot use [service] as it has been stopped.'
        }
    
        def "throws exception when attempting to use service after stop has been requested"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

        @Inject
        private MavenRepositorySystem repositorySystem;
    
        private File testDirectory;
    
        @BeforeEach
        void setUp() throws Exception {
            testDirectory = new File(getBasedir(), BASE_POM_DIR);
        }
    
        @Test
        void testSettingsNoPom() throws Exception {
            PomTestWrapper pom = buildPom("settings-no-pom");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Serializer.java

         *
         * @throws EOFException When the next object cannot be fully read due to reaching the end of stream.
         */
        T read(Decoder decoder) throws EOFException, Exception;
    
        /**
         * Writes the given object to the given stream. The implementation must not perform any buffering.
         */
        void write(Encoder encoder, T value) throws Exception;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/messaging/WorkerConfigSerializer.java

    public class WorkerConfigSerializer implements Serializer<WorkerConfig> {
    
        private static final Logger LOGGER = LoggerFactory.getLogger(WorkerConfigSerializer.class);
    
        @Override
        public WorkerConfig read(Decoder decoder) throws IOException {
            LogLevel logLevel = LogLevel.values()[decoder.readSmallInt()];
            boolean shouldPublishJvmMemoryInfo = decoder.readBoolean();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top