Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,001 for throws (0.11 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionReplacingObjectInputStream.java

        protected final Object resolveObject(Object obj) throws IOException {
            return getObjectTransformer().transform(obj);
        }
    
        protected Object doResolveObject(Object obj) throws IOException {
            if (obj instanceof TopLevelExceptionPlaceholder) {
                return ((ExceptionPlaceholder) obj).read(getClassNameTransformer(), getObjectInputStreamCreator());
            }
            return obj;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

                }
    
                throw e;
            }
        }
    
        protected MavenProject getProject(File pom) throws Exception {
            ProjectBuildingRequest configuration = newBuildingRequest();
    
            return projectBuilder.build(pom, configuration).getProject();
        }
    
        protected MavenProject getProjectFromRemoteRepository(final File pom) throws Exception {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/EncoderExtensions.java

            encoder.writeInt(array.length);
            writeInts(encoder, array);
        }
    
        public static void writeInts(Encoder encoder, int[] array) throws IOException {
            for (int e : array) {
                encoder.writeInt(e);
            }
        }
    
        public static void writeLengthPrefixedLongs(Encoder encoder, long[] array) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/precondition/TestPrecondition.java

         * @throws Exception if the precondition cannot be checked
         */
        boolean isSatisfied() throws Exception;
    
        /**
         * Utility method to check if a precondition class is satisfied.
         *
         * @param preconditionClass the class of the precondition to be checked
         * @return true if the precondition is satisfied
         * @throws Exception if the precondition cannot be checked
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DecoderExtensions.java

    @NonNullApi
    public class DecoderExtensions {
    
        public static short[] readLengthPrefixedShorts(Decoder decoder) throws IOException {
            int length = decoder.readInt();
            short[] array = new short[length];
            readShorts(decoder, array);
            return array;
        }
    
        public static void readShorts(Decoder decoder, short[] array) throws IOException {
            for (int i = 0; i < array.length; i++) {
                array[i] = decoder.readShort();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Writer.java

         * @param writer   a writer object
         * @param metadata a Metadata object
         * @throws java.io.IOException java.io.IOException if any
         */
        public void write(Writer writer, Metadata metadata) throws java.io.IOException {
            try {
                delegate.write(writer, metadata.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        }
    
        /**
         * Method write.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

            throw new UnsupportedOperationException("Cannot get available versions in this test case");
        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws ArtifactMetadataRetrievalException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        protected File getLocalRepositoryPath() throws FileNotFoundException, URISyntaxException {
            File markerFile = getFileForClasspathResource("local-repo/marker.txt");
    
            return markerFile.getAbsoluteFile().getParentFile();
        }
    
        protected static File getFileForClasspathResource(String resource)
                throws FileNotFoundException, URISyntaxException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

        public static Model fromXml(@Nonnull String xml) throws XmlReaderException {
            return new DefaultModelXmlFactory().fromXmlString(xml);
        }
    
        /**
         * Simply converts the given content to an xml string.
         *
         * @param content the object to convert
         * @return the xml string representation
         * @throws XmlWriterException if an error occurs during the transformation
         * @see #fromXmlString(String)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

                    throw new TransferCancelledException();
                }
    
                @Override
                public void transferProgressed(TransferEvent event) throws TransferCancelledException {
                    throw new TransferCancelledException();
                }
    
                @Override
                public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 20:50:56 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top