Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1511 - 1520 of 2,684 for catch (0.07 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

                  .lines()
                  .first()
              if (this.launch != CommandLine) {
                println("${it.code} ${it.request.url.host} $firstLine")
              }
              Unit
            }
        } catch (e: IOException) {
          System.err.println(e)
        }
      }
    }
    
    fun main() {
      // Call this before anything else initialises the JSSE stack.
      WireSharkListenerFactory.register()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ContiguousSet.java

          }
          if (!range.hasUpperBound()) {
            effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
          }
        } catch (NoSuchElementException e) {
          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      private void assertCastFails(long value) {
        try {
          Chars.checkedCast(value);
          fail("Cast to char should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage("%s not found in exception text: %s", value, ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                            }
                        }
                    } catch (Exception e) {
                        e.printStackTrace();
                    } finally {
                        latch.countDown();
                    }
                });
            }
    
            // Then
            assertTrue(latch.await(10, TimeUnit.SECONDS));
            executor.shutdown();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                            int written = req.writeBytesWireFormat(buffer, 0);
                            success[index] = (written == 4 && SMBUtil.readInt2(buffer, 0) == 4);
                        } catch (Exception e) {
                            success[index] = false;
                        }
                    });
                    threads[i].start();
                }
    
                for (Thread thread : threads) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java

            @Override
            protected SearchResult search(String query, SearchRequestParams params, OptionalThing<FessUserBean> userBean) {
                try {
                    Thread.sleep(delayMs);
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
    
                SearchResultBuilder builder = SearchResult.create();
                for (int i = 0; i < 10; i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsSearchLogBhv.java

                result.setUserSessionId(DfTypeUtil.toString(source.get("userSessionId")));
                result.setVirtualHost(DfTypeUtil.toString(source.get("virtualHost")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                classDoc.classProperties.each { propertyDoc ->
                    linkMetaData.addPropertyAccessorMethod(propertyDoc.name, propertyDoc.metaData.getter ?: propertyDoc.metaData.setter)
                }
            } catch (Exception e) {
                throw new DocGenerationException("Failed to generate documentation for class '$classDoc.name'.", e)
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

        }
    
        @Test
        public void test_init() {
            DocumentHelper documentHelper = new DocumentHelper();
    
            try {
                documentHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        @Test
        public void test_getTitle() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            try (FileReader reader = new FileReader(file)) {
                element.append(open + CharStreams.toString(reader) + close);
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        private void removeLeftoverComments(Document document) {
            document.traverse(new NodeVisitor() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 03 01:59:51 GMT 2026
    - 11.3K bytes
    - Click Count (0)
Back to Top