Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 1,808 for try (0.01 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

                      assertEquals(v3(), newV);
                      return null;
                    }));
        expectMissing(e0());
      }
    
      public void testMergeNullValue() {
        try {
          getMap()
              .merge(
                  k0(),
                  null,
                  (oldV, newV) -> {
                    throw new AssertionFailedError("Should not call merge function if value was null");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            this.transportContext = tc;
            this.requestProperties = new HashMap<>();
            copySettings();
        }
    
        /**
         *
         */
        private final void copySettings() {
            try {
                this.setRequestMethod(this.connection.getRequestMethod());
            } catch (final ProtocolException e) {
                throw new RuntimeCIFSException("Failed to set request method", e);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                final byte[] data = accessResultData.getData();
                if (data == null) {
                    return null;
                }
                final String encoding = accessResultData.getEncoding();
                try {
                    return new String(data, encoding == null ? Constants.UTF_8 : encoding);
                } catch (final UnsupportedEncodingException e) {
                    if (logger.isInfoEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

                    languageHelper.getReindexScriptSource());
        }
    
        public void test_init() {
            try {
                languageHelper.init();
                // Should not throw exception
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

         */
        protected void updateThumbnailField(final String thumbnailId, final String value) {
            // TODO bulk
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            try {
                ComponentUtil.getIndexingHelper()
                        .updateDocument(ComponentUtil.getSearchEngineClient(), thumbnailId, fessConfig.getIndexFieldThumbnail(), value);
            } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                        ArgumentCaptor.forClass(jcifs.internal.smb1.com.SmbComReadAndX.class);
    
                // Act: choose len so upper/lower 16-bit parts are exercised
                byte[] buf = new byte[0x30000];
                try {
                    in.readDirect(buf, 0, 0x12345);
                    fail("Expected IOException due to short-circuit");
                } catch (IOException expected) {
                    // expected
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

           * something. Try to treat it like a RuntimeException. If we overflow the stack again, the
           * resulting Error will propagate upward up to the root call to set().
           */
          setException(e);
          return;
        }
    
        T transformResult;
        try {
          transformResult = doTransform(localFunction, sourceResult);
        } catch (Throwable t) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

         */
        public void startWatching(String directoryPath, Smb2LeaseKey leaseKey) {
            if (activeWatchers.containsKey(directoryPath)) {
                return; // Already watching
            }
    
            try {
                SmbFile directory = new SmbFile(directoryPath, leaseManager.getContext());
                ChangeNotificationHandle handle = new ChangeNotificationHandle(directoryPath, leaseKey, directory);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

                try (final InputStream is = responseData.getResponseBody(); final OutputStream os = new FileOutputStream(file);) {
                    CopyUtil.copy(is, os);
                } catch (final IOException e) {
                    throw new CrawlerSystemException("Could not store " + file.getAbsolutePath(), e);
                }
            }
            try {
                resultData.setData(path.getBytes(charsetName));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/NegTokenInitTest.java

            ByteArrayOutputStream collector = new ByteArrayOutputStream();
            ASN1OutputStream der = ASN1OutputStream.create(collector, ASN1Encoding.DER);
            try {
                DERTaggedObject applicationWrapper = new DERTaggedObject(false, BERTags.APPLICATION, outerTagNo, new DERSequence(ev));
                der.writeObject(applicationWrapper);
            } finally {
                der.close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top