Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,299 for throws (0.13 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogFile.groovy

            this.logFile = logFile
            this.charset = charset
        }
    
        File getFile() {
            return logFile
        }
    
        String getText() throws IOException {
            return logFile.getText(charset.name())
        }
    
        Stream<String> lines() throws IOException {
            return Files.lines(logFile.toPath(), charset)
        }
    
        @Override
        String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 09:22:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

        }
    
        protected ArtifactRepository getLocalRepository() throws Exception {
            File repoDir = new File(getBasedir(), "target/local-repo").getAbsoluteFile();
    
            return repositorySystem.createLocalRepository(repoDir);
        }
    
        @Test
        void testThatASystemScopedDependencyIsNotResolvedFromRepositories() throws Exception {
            //
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/TestLauncherDebugTestsCrossVersionTest.groovy

                    @org.junit.Test public void foo() throws Exception {
                         org.junit.Assert.assertEquals(1, 1);
                    }
                }
            """
            file('src/test/java/example/SecondTest.java').text = """
                package example;
                public class SecondTest {
                    @org.junit.Test public void bar() throws Exception {
                         org.junit.Assert.assertEquals(1, 1);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                    } catch (FileNotFoundException | URISyntaxException e) {
                        throw new IllegalStateException("Missing test POM for " + artifact, e);
                    }
                } else {
                    result.addException(new ArtifactNotFoundException(artifact, (RemoteRepository) null));
                    throw new ArtifactResolutionException(results);
                }
            }
    
            return results;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/model/CalculatedValueContainer.java

            return displayName.getCapitalizedDisplayName();
        }
    
        @Override
        public T get() throws IllegalStateException {
            return getValue().get();
        }
    
        @Override
        public Try<T> getValue() throws IllegalStateException {
            Try<T> result = this.result;
            if (result == null) {
                throw new IllegalStateException(String.format("Value for %s has not been calculated yet.", displayName));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

        @Inject
        private RepositorySystem repositorySystem;
    
        @Inject
        PlexusContainer container;
    
        @Test
        @Disabled
        void testShouldNotCarryExclusionsOverFromDependencyToDependency() throws Exception {
            /*
            Dependency dep1 = new Dependency();
            dep1.setGroupId( "test" );
            dep1.setArtifactId( "test-artifact" );
            dep1.setVersion( "1" );
            dep1.setType( "jar" );
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

      }
    
      /** Returns a plan for the first attempt at [route]. This throws if no plan is possible. */
      @Throws(IOException::class)
      internal fun planConnectToRoute(
        route: Route,
        routes: List<Route>? = null,
      ): ConnectPlan {
        if (route.address.sslSocketFactory == null) {
          if (ConnectionSpec.CLEARTEXT !in route.address.connectionSpecs) {
            throw UnknownServiceException("CLEARTEXT communication not enabled for client")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/UnsupportedFilePermissions.java

        private final EmptyChmod chmod = new EmptyChmod();
    
        @Override
        public int getUnixMode(File f) throws IOException {
            maybeWarn();
            return stat.getUnixMode(f);
        }
    
        @Override
        public void chmod(File file, int mode) throws Exception {
            maybeWarn();
            chmod.chmod(file, mode);
        }
    
        private void maybeWarn() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java

        MetadataGraphEdge e1;
        MetadataGraphEdge e2;
        MetadataGraphEdge e3;
    
        // ------------------------------------------------------------------------------------------
        @BeforeEach
        void setUp() throws Exception {
            policy = new DefaultGraphConflictResolutionPolicy();
            e1 = new MetadataGraphEdge("1.1", true, null, null, 2, 1);
            e2 = new MetadataGraphEdge("1.2", true, null, null, 3, 2);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/deps/IntSetSerializer.java

        public static final IntSetSerializer INSTANCE = new IntSetSerializer();
    
        private IntSetSerializer() {
        }
    
        @Override
        public IntSet read(Decoder decoder) throws EOFException, Exception {
            int size = decoder.readInt();
            if (size == 0) {
                return IntSets.EMPTY_SET;
            }
            IntSet result = new IntOpenHashSet(size);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 15:22:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top