Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 1,053 for IOException (0.06 seconds)

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

            byte[] token = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, 0, null, null, false, "1.2.840.113554.1.2.2", // Kerberos OID instead of SPNEGO OID
                    null, null);
    
            IOException ex = assertThrows(IOException.class, () -> new NegTokenInit(token));
            assertTrue(ex.getMessage().contains("OID"), "Error should mention OID");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        }
    
        response.use {
          if (!response.isSuccessful) {
            throw IOException("response: " + response.code + " " + response.message)
          }
    
          val body = response.body
    
          if (body.contentLength() > MAX_RESPONSE_SIZE) {
            throw IOException(
              "response size exceeds limit ($MAX_RESPONSE_SIZE bytes): ${body.contentLength()} bytes",
            )
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SID.java

         *            The FQDN of the server that is an authority for the SID.
         * @param tc
         *            Context to use
         * @throws IOException if there is an error resolving the SID
         */
        public void resolve(final String authorityServerName, final CIFSContext tc) throws IOException {
            final SID[] sids = new SID[1];
            sids[0] = this;
            tc.getSIDResolver().resolveSids(tc, authorityServerName, sids);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                        return FileVisitResult.CONTINUE
                    }
    
                    override fun visitFileFailed(file: Path?, exc: IOException?) =
                        FileVisitResult.TERMINATE
    
                    override fun postVisitDirectory(dir: Path?, exc: IOException?) =
                        FileVisitResult.CONTINUE
    
                    private
                    fun Path.isClassFilePath() =
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Mar 22 03:48:38 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

        }
    
        private void parse(final byte[] material) throws IOException {
            for (int i = 0; i < 8; i++) {
                if (material[i] != NTLMSSP_SIGNATURE[i]) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            if (readULong(material, 8) != 3) {
                throw new IOException("Not a Type 3 message.");
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        client =
          client
            .newBuilder()
            .authenticator { _: Route?, _: Response -> throw IOException("IOException!") }
            .build()
        val request = Request(server.url("/"))
        executeSynchronously(request)
          .assertFailure(IOException::class.java)
        assertThat(client.connectionPool.idleConnectionCount()).isEqualTo(1)
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/SmbTransportPool.java

         * @return a connected transport
         * @throws UnknownHostException if the host cannot be resolved
         * @throws IOException if an I/O error occurs
         */
        SmbTransport getSmbTransport(CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning)
                throws UnknownHostException, IOException;
    
        /**
         * Get transport connection
         *
         * @param tc
         *            context to use
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import java.io.IOException;
    
    class NtTransQuerySecurityDescResponse extends SmbComNtTransactionResponse {
    
        SecurityDescriptor securityDescriptor;
    
        NtTransQuerySecurityDescResponse() {
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/LoggingOutputStream.java

     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    
    package org.elasticsearch.gradle.internal;
    
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.Arrays;
    
    /**
     * Writes data passed to this stream as log messages.
     *
     * The stream will be flushed whenever a newline is detected.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    buf.append(" [ ").append(sw.toString()).append(" ]");
                } catch (final IOException e) {
                    // StringWriter close() should not throw IOException, but log just in case
                    if (logger.isDebugEnabled()) {
                        logger.debug("Unexpected IOException while closing StringWriter", e);
                    }
                }
                return buf.toString();
            };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
Back to Top