Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 2,073 for catch (0.03 sec)

  1. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                out.write(buffer, 0, ssp0.writeWireFormat(buffer, 0));
    
                setSoTimeout(soTimeout);
                type = SessionServicePacket.readPacketType(in, buffer, 0);
            } catch (final IOException ioe) {
                close();
                throw ioe;
            }
    
            switch (type) {
            case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                if (LogStream.level > 2) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/NetbiosNameTest.java

            try {
                assertNotNull(NetbiosName.class.getMethod("getName"));
                assertNotNull(NetbiosName.class.getMethod("getScope"));
                assertNotNull(NetbiosName.class.getMethod("getNameType"));
            } catch (NoSuchMethodException e) {
                fail("Method not found: " + e.getMessage());
            }
        }
    
        @Test
        @DisplayName("Should handle getName() method")
        void testGetName() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                ArtifactResolutionResult result = repositorySystem.resolve(request);
    
                try {
                    resolutionErrorHandler.throwErrors(request, result);
                } catch (MultipleArtifactsNotFoundException e) {
    
                    Collection<Artifact> missing = new HashSet<>(e.getMissingArtifacts());
    
                    for (Iterator<Artifact> it = missing.iterator(); it.hasNext(); ) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.4K bytes
    - Viewed (1)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

        try {
          getMap()
              .computeIfPresent(
                  k3(),
                  (k, v) -> {
                    throw new AssertionFailedError();
                  });
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          ) {
            continue;
          }
          Class<?> clazz = info.load();
          try {
            Method unused = clazz.getDeclaredMethod("writeReplace");
            continue; // It overrides writeReplace, so it's safe.
          } catch (NoSuchMethodException e) {
            // This is a class whose supertypes we want to examine. We'll do that below.
          }
          Optional<Class<?>> supersWithPackagePrivateWriteReplace =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                                }
                            }
                            server.oemDomainName = new String(buffer, bufferIndex, len, SmbConstants.OEM_ENCODING);
                        }
                    } catch (final UnsupportedEncodingException uee) {
                        if (LogStream.level > 1) {
                            uee.printStackTrace(log);
                        }
                    }
                    bufferIndex += len;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

            try {
                final XPathFactory factory = XPathFactory.newInstance();
                builder.accept(factory);
                return factory.newXPath();
            } catch (final Exception e) {
                throw new CrawlerSystemException("Failed to create XPath instance.", e);
            }
        }
    
        /**
         *  Use an XPath string to select a nodelist.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

                    Method method = clazz.getDeclaredMethod("readString", byte[].class, int.class, int.class, boolean.class);
                    method.setAccessible(true);
                    return method;
                } catch (NoSuchMethodException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchMethodException("readString method not found");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

        this.body = body
        this.sequenceNumber = sequenceNumber
        this.failure = failure
    
        if (socket is SSLSocket) {
          try {
            this.handshake = socket.session.handshake()
          } catch (e: IOException) {
            throw IllegalArgumentException(e)
          }
        } else {
          this.handshake = null
        }
    
        if (requestLine.isNotEmpty()) {
          val methodEnd = requestLine.indexOf(' ')
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CloseablesTest.java

          throws IOException {
        try {
          Closeables.close(closeable, swallowException);
          if (expectThrown) {
            fail("Didn't throw exception.");
          }
        } catch (IOException e) {
          if (!expectThrown) {
            fail("Threw exception");
          }
        }
        verify(closeable).close();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top