Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 2,742 for throws (0.38 sec)

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

        return copy;
      }
    
      /**
       * Not supported. Use {@link #eraseAll} instead.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link #eraseAll}
       */
      @DoNotCall("Always throws UnsupportedOperationException")
      @Override
      @Deprecated
      public void clear() {
        throw new UnsupportedOperationException();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/DefaultArtifactTransformationManager.java

                throws ArtifactResolutionException, ArtifactNotFoundException {
            for (ArtifactTransformation transform : artifactTransformations) {
                transform.transformForResolve(artifact, remoteRepositories, localRepository);
            }
        }
    
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository)
                throws ArtifactInstallationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            return artifact;
        }
    
        private Artifact createTestArtifact(String directory, String type) throws IOException {
            return createTestArtifact(directory, "1.0", type);
        }
    
        private Artifact createTestArtifact(String directory, String version, String type) throws IOException {
            File testData = getTestFile(directory);
            FileUtils.deleteDirectory(testData);
            testData.mkdirs();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                    minioClient = builder.build();
                } catch (final Exception e) {
                    throw new IOException("Failed to create MinioClient.", e);
                }
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
                if (minioClient == null) {
                    throw new IOException("Access is not ready.");
                }
                try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
        assertEquals(STRING.length(), source.copyTo(builder));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        assertEquals(STRING, builder.toString());
      }
    
      public void testCopyTo_charSink() throws IOException {
        TestCharSink sink = new TestCharSink();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/Progress.java

            })
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new Progress().run();
      }
    
      private static class ProgressResponseBody extends ResponseBody {
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

        }
    
    
        /**
         * @param clazz
         * @return the filesystem info
         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends FileSystemInformation> T getInfo ( Class<T> clazz ) throws CIFSException {
            if ( !clazz.isAssignableFrom(this.info.getClass()) ) {
                throw new CIFSException("Incompatible file information class");
            }
            return (T) getInfo();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        return suite;
      }
    
      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, UTF_8));
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       *     Corresponds to `FLAG_FIN`.
       */
      @Throws(IOException::class)
      fun newStream(
        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream {
        return newStream(0, requestHeaders, out)
      }
    
      @Throws(IOException::class)
      private fun newStream(
        associatedStreamId: Int,
        requestHeaders: List<Header>,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(File file) throws IOException {
        return asByteSource(file).read();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top