Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,733 for isgoexception (0.15 sec)

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

        throwIf(closed);
        throwIf(WRITE_THROWS);
        super.write(b);
      }
    
      @Override
      public void close() throws IOException {
        closed = true;
        super.close();
        throwIf(CLOSE_THROWS);
      }
    
      private void throwIf(TestOption option) throws IOException {
        throwIf(options.contains(option));
      }
    
      private static void throwIf(boolean condition) throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

        }
      }
    
      @Throws(IOException::class)
      fun flush() {
        this.withLock {
          if (closed) throw IOException("closed")
          sink.flush()
        }
      }
    
      @Throws(IOException::class)
      fun rstStream(
        streamId: Int,
        errorCode: ErrorCode,
      ) {
        this.withLock {
          if (closed) throw IOException("closed")
          require(errorCode.httpCode != -1)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testWriteString() throws IOException {
        File temp = createTempFile();
        Files.write(I18N, temp, Charsets.UTF_16LE);
        assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE));
      }
    
      public void testWriteBytes() throws IOException {
        File temp = createTempFile();
        byte[] data = newPreFilledByteArray(2000);
        Files.write(data, temp);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  4. maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

         * @param settings a settings object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Settings settings) throws IOException {
            try {
                delegate.write(writer, settings.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        }
    
        /**
         * Method write.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:44:51 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         * @param model The model to serialize, must not be {@code null}.
         * @throws IOException If the model could not be serialized.
         */
        void write(File output, Map<String, Object> options, Model model) throws IOException;
    
        /**
         * Writes the supplied model to the specified character writer. The writer will be automatically closed before the
         * method returns.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/functional/src/main/java/org/gradle/internal/io/IoSupplier.java

    import javax.annotation.Nullable;
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.util.function.Supplier;
    
    /**
     * A variant of {@link Supplier} that is allowed to throw {@link IOException}.
     */
    @FunctionalInterface
    public interface IoSupplier<T> {
        @Nullable
        T get() throws IOException;
    
        /**
         * Wraps an {@link IOException}-throwing {@link IoSupplier} into a regular {@link Supplier}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/io/NoCloseOutputStream.java

            delegate.flush();
        }
    
        @Override
        public synchronized void write(byte[] b, int off, int len) throws IOException {
            delegate.write(b, off, len);
        }
    
        @Override
        public synchronized void write(byte[] b) throws IOException {
            delegate.write(b);
        }
    
        @Override
        public synchronized void close() throws IOException {
            // don't forward
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/Deleter.java

         *         attempted (because {@code target} didn't exist).
         *
         * @throws IOException when {@code target} cannot be deleted (with detailed error
         *         message).
         */
        boolean deleteRecursively(File target) throws IOException;
    
        /**
         * Attempts to delete the given file or directory recursively.
         *
         * Can delete directories with contents.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt

     */
    package okhttp3
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.Socket
    import javax.net.SocketFactory
    
    /**
     * A [SocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureSocket].
     */
    open class DelegatingSocketFactory(private val delegate: SocketFactory) : SocketFactory() {
      @Throws(IOException::class)
      override fun createSocket(): Socket {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/AbstractSourceGenerator.java

        protected void addImport(Class<?> clazz) throws IOException {
            addImport(clazz.getCanonicalName());
        }
    
        protected void addImport(String clazz) throws IOException {
            writeLn("import " + clazz + ";");
        }
    
        protected void writeLn() throws IOException {
            writer.write(ln);
        }
    
        public void writeLn(String source) throws IOException {
            writeIndent();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top