Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2831 - 2840 of 3,282 for throwIt (0.05 seconds)

  1. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

      static PublicSuffixType fromCode(char code) {
        for (PublicSuffixType value : values()) {
          if (value.getInnerNodeCode() == code || value.getLeafNodeCode() == code) {
            return value;
          }
        }
        throw new IllegalArgumentException("No enum corresponding to given code: " + code);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            assertEquals(expected, info.toString());
        }
    
        // Test cases for Trans2FindFirst2Response class
        @Test
        void testReadString_Unicode() throws UnsupportedEncodingException {
            response.useUnicode = true;
            String expected = "test";
            byte[] src = expected.getBytes("UTF-16LE");
            String result = response.readString(src, 0, src.length);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractorTest.java

        private static final Logger logger = LogManager.getLogger(MarkdownExtractorTest.class);
    
        public MarkdownExtractor markdownExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            final StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("markdownExtractor", MarkdownExtractor.class);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      /**
       * Value for [B1_MASK_LENGTH] which indicates the next eight bytes are the unsigned
       * length.
       */
      internal const val PAYLOAD_LONG = 127
    
      /** Used when an unchecked exception was thrown in a listener. */
      internal const val CLOSE_CLIENT_GOING_AWAY = 1001
    
      /** Used when an empty close frame was received (i.e., without a status code). */
      internal const val CLOSE_NO_STATUS_CODE = 1005
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

       */
      @Param({"0", "1", "12"})
      int otherEntriesInDataStructure;
    
      final List<ClassValue<?>> retainedReferencesToOtherClassValues = new ArrayList<>();
    
      @BeforeExperiment
      void addOtherEntries() throws Exception {
        GetCheckedTypeValidator validator = this.validator.validator;
        Class<? extends Exception> exceptionType = this.exceptionType.exceptionType;
    
        for (Class<? extends Exception> exceptionClass :
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

        // ----------------------------------------------------------------------
    
        @Test
        @DisabledOnOs(value = WINDOWS, disabledReason = "need to investigate why it fails on windows")
        void testProjectInheritance() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            System.out.println("Local repository is at: " + localRepo.getAbsolutePath());
    
            File pom0 = new File(localRepo, "p0/pom.xml");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 04 10:35:11 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        }
      }
    
      /** Confirm that runtime exceptions thrown inside of OkHttp propagate to the caller.  */
      @Test
      fun unexpectedExceptionSync() {
        client =
          client
            .newBuilder()
            .dns { hostname: String? -> throw RuntimeException("boom!") }
            .build()
        server.enqueue(MockResponse())
        assertFailsWith<RuntimeException> {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 133.2K bytes
    - Click Count (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

    /**
     * @author shinsuke
     *
     */
    public class CrawlerClientFactoryTest extends PlainTestCase {
        public CrawlerClientFactory clientFactory;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

        }
    
        @Nested
        @DisplayName("Execution")
        class ExecutionTests {
    
            @Test
            @DisplayName("should log appropriate header message")
            void shouldLogAppropriateHeaderMessage() throws Exception {
                UpgradeContext context = createMockContext();
    
                // Create a temporary directory with a POM file for the test
                Path tempDir = Files.createTempDirectory("check-test");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java

     * under the License.
     */
    package org.apache.maven.settings.building;
    
    /**
     * Describes a problem that was encountered during settings building. A problem can either be an exception that was
     * thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
     * that exhibits the problem.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top