Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 851 for IOException (0.08 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

     */
    package org.apache.maven.internal.transformation.impl;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.Set;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        }
    
        // List available IP addresses for the current proxy. This may block in Dns.lookup().
        if (!newRouteSelector.hasNext()) throw IOException("exhausted all routes")
        val newRouteSelection = newRouteSelector.next()
        routeSelection = newRouteSelection
    
        if (isCanceled()) throw IOException("Canceled")
    
        return planConnectToRoute(newRouteSelection.next(), newRouteSelection.routes)
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

            }
          } catch (e: Exception) {
            val exception =
              when {
                canceled -> IOException("canceled", e)
                else -> e
              }
            listener.onFailure(this, exception, response)
            return
          }
          if (canceled) {
            listener.onFailure(this, IOException("canceled"), response)
          } else {
            listener.onClosed(this)
          }
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                return false;
            }
    
            @Override
            public void connect() throws IOException {
                // Do Nothing
            }
    
            @Override
            public int getResponseCode() throws IOException {
                return 200;
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
                return new ByteArrayInputStream(new byte[100]); // dummy payload
            }
        }
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/WebApiResponse.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.api;
    
    import java.io.IOException;
    import java.io.PrintWriter;
    
    import org.apache.commons.io.output.ByteArrayOutputStream;
    
    import jakarta.servlet.http.HttpServletResponse;
    import jakarta.servlet.http.HttpServletResponseWrapper;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/DispatcherCleanupTest.kt

     */
    package okhttp3
    
    import java.io.IOException
    import mockwebserver3.MockWebServer
    import org.junit.jupiter.api.Test
    
    class DispatcherCleanupTest {
      @Test
      fun testFinish(server: MockWebServer) {
        val okhttp = OkHttpClient()
        val callback =
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {}
    
            override fun onResponse(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

            .build()
    
        val request = Request(server.url("/"))
        assertFailsWith<IOException> {
          client.newCall(request).execute()
        }.also { expected ->
          expected.assertSuppressed {
            val suppressed = it.single()
            assertThat(suppressed).isInstanceOf(IOException::class.java)
            assertThat(suppressed).isNotSameAs(expected)
          }
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenEncCling().run(args);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
            return new MavenEncCling(world).run(args);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      override fun responseFailed(
        call: Call,
        ioe: IOException,
      ) {
        logWithTime("responseFailed: $ioe")
    
        delegate.responseFailed(call, ioe)
      }
    
      override fun callEnd(call: Call) {
        logWithTime("callEnd")
    
        delegate.callEnd(call)
      }
    
      override fun callFailed(
        call: Call,
        ioe: IOException,
      ) {
        logWithTime("callFailed: $ioe")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

    import com.google.common.primitives.Bytes;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.DataInput;
    import java.io.DataInputStream;
    import java.io.IOException;
    import junit.framework.TestCase;
    
    /**
     * Test class for {@link LittleEndianDataOutputStream}.
     *
     * @author Keith Bottner
     */
    public class LittleEndianDataOutputStreamTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top