Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 6,600 for throws (0.17 sec)

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

         *
         * @throws IOException If the file does not exist or is malformed.
         */
        public static int getClassMajorVersion(File file) throws IOException {
            return getClassMajorVersion(new FileInputStream(file));
        }
    
        /**
         * Get the class file major version from the provided {@code javaClass}
         *
         * @throws IOException If there is an error reading the class file contents.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

                    "Expected 'ModelResolverException' not thrown.");
            assertNotNull(e.getMessage());
            assertThat(e.getMessage(), containsString("Could not find artifact org.apache:apache:pom:0 in central"));
        }
    
        @Test
        void testResolveParentThrowsModelResolverExceptionWhenNoMatchingVersionFound() throws Exception {
            final Parent parent = Parent.newBuilder()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    cdsect(String) throws java.io.IOException; public void entityRef(String) throws java.io.IOException; public void processingInstructio(String) throws java.io.IOException; public void comment(String) throws java.io.IOException; public void docdecl(String) throws java.io.IOException; public void ignorableWhitespace(String) throws java.io.IOException; public void flush() throws java.io.IOException; protected void writeAttributeValue(String, java.io.Writer) throws java.io.IOException; protected void writeEl...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 164.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/RemoteConnection.java

     *
     * <p>This interface simply specializes the exceptions thrown by the methods of this connection.</p>
     */
    public interface RemoteConnection<T> extends Connection<T> {
        /**
         * {@inheritDoc}
         *
         * @throws MessageIOException On failure to dispatch the message to the peer.
         */
        @Override
        void dispatch(T message) throws MessageIOException;
    
        void flush() throws MessageIOException;
    
        /**
         * {@inheritDoc}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGetFirstEntry() throws Exception {
            assertThat(list.getFirstEntry(), is(nullValue()));
            list.addFirst("1");
            assertThat(list.getFirstEntry().getElement(), is("1"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFirst() throws Exception {
            try {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeWriter.java

                super(parent);
            }
    
            @Override
            public void writeStartDocument() throws XMLStreamException {
                super.writeStartDocument();
                anew = false;
            }
    
            @Override
            public void writeStartDocument(String version) throws XMLStreamException {
                super.writeStartDocument(version);
                anew = false;
            }
    
            @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/MoreFiles.java

       *
       * @throws NoSuchFileException if the file does not exist <i>(optional specific exception)</i>
       * @throws NotDirectoryException if the file could not be opened because it is not a directory
       *     <i>(optional specific exception)</i>
       * @throws IOException if an I/O error occurs
       */
      public static ImmutableList<Path> listFiles(Path dir) throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        }
        verifyThreadWasNotInterrupted();
      }
    
      public void testFailed() throws Exception {
        final Exception e = new Exception();
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
                    throw e;
                  }
                });
        task.run();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSource.java

       * it does.
       *
       * @throws IOException if an I/O error occurs while reading from this source or if {@code
       *     processor} throws an {@code IOException}
       * @since 16.0
       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
      public <T extends @Nullable Object> T readLines(LineProcessor<T> processor) throws IOException {
        checkNotNull(processor);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/log/LoggerTest.java

         */
        @Test
        public void testInfo() throws Exception {
            logger.info("info");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testWarn() throws Exception {
            logger.warn("warn");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testError() throws Exception {
            logger.error("error");
        }
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top