Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 851 for IOException (0.19 sec)

  1. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

              @Override
              public InputStream openStream() throws IOException {
                if (counter[0]++ != 0) {
                  throw new IllegalStateException("More than one source open");
                }
                return new FilterInputStream(source.openStream()) {
                  @Override
                  public void close() throws IOException {
                    super.close();
                    counter[0]--;
                  }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http.form;
    
    import java.io.IOException;
    import java.io.UnsupportedEncodingException;
    import java.net.URLEncoder;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.function.BiConsumer;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3.internal.http2
    
    import java.io.File
    import java.io.IOException
    import java.net.ProtocolException
    import java.net.ServerSocket
    import java.net.Socket
    import java.util.logging.Level
    import java.util.logging.Logger
    import javax.net.ssl.SSLSocket
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

        public Metadata read(File input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            return read(Files.newInputStream(input.toPath()), options);
        }
    
        public Metadata read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/Closer.java

       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       */
      public RuntimeException rethrow(Throwable e) throws IOException {
        checkNotNull(e);
        thrown = e;
        throwIfInstanceOf(e, IOException.class);
        throwIfUnchecked(e);
        throw new RuntimeException(e);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

            @Override
            public void write(final int arg0) throws IOException {
            }
    
            @Override
            public void close() throws IOException {
                throw new IOException();
            }
    
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/MoreFiles.java

       *     specified
       * @throws IOException if one or more files can't be deleted for any reason
       */
      public static void deleteDirectoryContents(Path path, RecursiveDeleteOption... options)
          throws IOException {
        Collection<IOException> exceptions = null; // created lazily if needed
        try (DirectoryStream<Path> stream = Files.newDirectoryStream(path)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/MoreFiles.java

       *     specified
       * @throws IOException if one or more files can't be deleted for any reason
       */
      public static void deleteDirectoryContents(Path path, RecursiveDeleteOption... options)
          throws IOException {
        Collection<IOException> exceptions = null; // created lazily if needed
        try (DirectoryStream<Path> stream = Files.newDirectoryStream(path)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsExcelExtractor.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.extractor.impl;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Map;
    
    import org.apache.poi.hssf.usermodel.HSSFWorkbook;
    import org.codelibs.fess.crawler.entity.ExtractData;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

        call.execute().use { response ->
          assertThat(response.body.string()).isEqualTo("abc")
          val requestBodyOut = requestBody.takeSink()
          assertFailsWith<IOException> {
            SlowRequestBody.writeTo(requestBodyOut)
          }
          assertFailsWith<IOException> {
            requestBodyOut.close()
          }
        }
    
        // Confirm that the connection pool was not corrupted by making another call.
        makeSimpleCall()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top