Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,733 for isgoexception (0.2 sec)

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

        closed = true;
        throwIf(CLOSE_THROWS);
        in.close();
      }
    
      private void throwIf(TestOption option) throws IOException {
        throwIf(options.contains(option));
      }
    
      private static void throwIf(boolean condition) throws IOException {
        if (condition) {
          throw new IOException();
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Decoder.java

         */
        long readLong() throws EOFException, IOException;
    
        /**
         * Reads a signed 64 bit int value. Can read any value that was written using {@link Encoder#writeSmallLong(long)}.
         *
         * @throws EOFException when the end of the byte stream is reached before the int value can be fully read.
         */
        long readSmallLong() throws EOFException, IOException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

      }
    
      public void testMarkNotSet() {
        IOException expected = assertThrows(IOException.class, () -> counter.reset());
        assertThat(expected).hasMessageThat().isEqualTo("Mark not set");
      }
    
      public void testMarkNotSupported() {
        counter = new CountingInputStream(new UnmarkableInputStream());
    
        IOException expected = assertThrows(IOException.class, () -> counter.reset());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

        }
    
        /**
         * @param reader a reader object.
         * @param strict a strict object.
         * @throws IOException IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return Settings
         */
        public Settings read(Reader reader, boolean strict) throws IOException, XmlPullParserException {
            try {
                return new Settings(delegate.read(reader, strict, null));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:44:51 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar

    closeStartTag() throws java.io.IOException; private void writeNamespaceDeclar() throws java.io.IOException; public XmlSerializer endTag(String, String) throws java.io.IOException; public XmlSerializer text(String) throws java.io.IOException; public XmlSerializer text(char[], int, int) throws java.io.IOException; public void cdsect(String) throws java.io.IOException; public void entityRef(String) throws java.io.IOException; public void processingInstructio(String) throws java.io.IOException; public void comment(String)...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 160K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    closeStartTag() throws java.io.IOException; private void writeNamespaceDeclar() throws java.io.IOException; public XmlSerializer endTag(String, String) throws java.io.IOException; public XmlSerializer text(String) throws java.io.IOException; public XmlSerializer text(char[], int, int) throws java.io.IOException; public void cdsect(String) throws java.io.IOException; public void entityRef(String) throws java.io.IOException; public void processingInstructio(String) throws java.io.IOException; public void comment(String)...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 164.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Flushables.java

       *     an {@code IOException}.
       * @see Closeables#close
       */
      public static void flush(Flushable flushable, boolean swallowIOException) throws IOException {
        try {
          flushable.flush();
        } catch (IOException e) {
          if (swallowIOException) {
            logger.log(Level.WARNING, "IOException thrown while flushing Flushable.", e);
          } else {
            throw e;
          }
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSinkTest.java

      }
    
      public void testOpenBufferedStream() throws IOException {
        Writer writer = sink.openBufferedStream();
        assertTrue(sink.wasStreamOpened());
        assertFalse(sink.wasStreamClosed());
    
        writer.write(STRING);
        writer.close();
    
        assertTrue(sink.wasStreamClosed());
        assertEquals(STRING, sink.getString());
      }
    
      public void testWrite_string() throws IOException {
        assertEquals("", sink.getString());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. 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)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/CrossVersionToolingApiSpecificationRetryTest.groovy

            when:
            logToFakeDaemonLog('java.net.SocketException: Socket operation on nonsocket: no further information')
            throwWhen(new IOException("Could not dispatch a message to the daemon.",
                new IOException("Some exception in the chain",
                    new IOException("An existing connection was forcibly closed by the remote host"))), iteration == 1)
    
            then:
            true
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top