Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 1,053 for IOException (0.36 seconds)

  1. src/test/java/jcifs/smb/SmbFileTest.java

    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.spy;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

     * under the License.
     */
    package org.apache.maven.repository.internal;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Collections;
    import java.util.Date;
    import java.util.Map;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

        }
    
      fun requestIOException() =
        apply {
          actions += { stream ->
            try {
              stream.source.exhausted()
              throw AssertionError("expected IOException")
            } catch (expected: IOException) {
            }
          }
        }
    
      @JvmOverloads
      fun sendResponse(
        s: String,
        responseSent: CountDownLatch = CountDownLatch(1),
      ) = apply {
        actions += { stream ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

         * @param params Additional parameters for the conversion.
         * @return The XContentBuilder with the access result data.
         * @throws IOException if the conversion fails.
         */
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject();
            if (transformerName != null) {
                builder.field(TRANSFORMER_NAME, transformerName);
            }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlQueue.java

         * @param params Additional parameters for the conversion.
         * @return The XContentBuilder with the URL queue data.
         * @throws IOException if the conversion fails.
         */
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject();
            if (sessionId != null) {
                builder.field(SESSION_ID, sessionId);
            }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/SplitPackagesAuditTask.java

                    }
                } catch (IOException e) {
                    throw new UncheckedIOException(e);
                }
    
                return packages;
            }
    
            private static void walkJavaFiles(Path root, String suffix, Consumer<Path> classConsumer) throws IOException {
                if (Files.exists(root) == false) {
                    return;
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 22:04:23 GMT 2021
    - 14.2K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/LocalRepositoryNotAccessibleException.java

     * under the License.
     */
    package org.apache.maven.repository;
    
    import java.io.IOException;
    
    /**
     * Signals a failure to store files within the local repository.
     *
     */
    @Deprecated
    public class LocalRepositoryNotAccessibleException extends IOException {
    
        public LocalRepositoryNotAccessibleException(String message, Throwable cause) {
            super(message);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

         * @param form the go form containing document ID and tracking parameters
         * @return action response for redirection or content streaming
         * @throws IOException if an I/O error occurs during content retrieval
         */
        @Execute
        public ActionResponse index(final GoForm form) throws IOException {
            validate(form, messages -> {}, () -> asHtml(virtualHost(path_Error_ErrorJsp)));
            if (isLoginRequired()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.attribute.PosixFileAttributeView;
    import java.nio.file.attribute.PosixFileAttributes;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 25 19:16:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            LdapOperationException exception = new LdapOperationException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
        private static class IOException extends Exception {
            public IOException(String message) {
                super(message);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
Back to Top