Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 3,192 for throwIt (0.05 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

        @TempDir
        Path tempDir;
    
        private final DefaultProfileActivationContext context = new DefaultProfileActivationContext();
    
        @BeforeEach
        @Override
        void setUp() throws Exception {
            activator = new FileProfileActivator()
                    .setProfileActivationFilePathInterpolator(new ProfileActivationFilePathInterpolator()
                            .setPathTranslator(new DefaultPathTranslator())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                    }
                }
                """;
    
        protected Map<String, String> invoke(Path cwd, Path userHome, Collection<String> goals, Collection<String> args)
                throws Exception {
            Files.createDirectories(cwd.resolve(".mvn"));
            Path pom = cwd.resolve("pom.xml").toAbsolutePath();
            Files.writeString(pom, POM_STRING);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 21 12:17:55 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SidResolverTest.java

        @Test
        void testResolveSids_WithNullContext() throws CIFSException {
            doThrow(new CIFSException("Context cannot be null")).when(sidResolver).resolveSids(eq(null), anyString(), any(SID[].class));
    
            assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids));
        }
    
        @Test
        void testResolveSids_WithNullServerName() throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Functions.java

    public final class Functions {
      private Functions() {}
    
      /**
       * A function equivalent to the method reference {@code Object::toString}. The function simply
       * invokes {@code toString} on its argument and returns the result. It throws a {@link
       * NullPointerException} on null input.
       *
       * <p><b>Warning:</b> The returned function may not be <i>consistent with equals</i> (as
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                throw new CrawlingAccessException("I/O exception(" + e.getMessage() + "): " + url, e);
            } catch (final CrawlerSystemException e) {
                closeResources(httpRequest, responseData);
                throw e;
            } catch (final Exception e) {
                closeResources(httpRequest, responseData);
                throw new CrawlerSystemException("Failed to access " + url, e);
            } finally {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java

     *
     */
    public class ShortConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToShort() throws Exception {
            assertEquals(Short.valueOf("1000"), ShortConversionUtil.toShort("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveShort() throws Exception {
            assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000"));
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

         *
         * @throws Exception if any.
         */
        @Test
        public void testDotDot() throws Exception {
            assertNull(ReflectionValueExtractor.evaluate("h..value", new ValueHolder("value")));
        }
    
        /**
         * <p>testBadIndexedSyntax.</p>
         *
         * @throws Exception if any.
         */
        @Test
        public void testBadIndexedSyntax() throws Exception {
            List<Object> list = new ArrayList<Object>();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

        call1.enqueue(
          object : Callback {
            @Throws(IOException::class)
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              try {
                // Wait until request2 acquires the connection before we destroy it violently.
                latch3.await()
              } catch (e: InterruptedException) {
                throw AssertionError(e)
              }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

        }
    
        /**
         * Establish RDMA connection
         *
         * @throws IOException if connection fails
         */
        public abstract void connect() throws IOException;
    
        /**
         * Send data using RDMA
         *
         * @param data data buffer to send
         * @param region registered memory region for the data
         * @throws IOException if send fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            @Override
            public Integer next(Integer value) {
              throw new AssertionError();
            }
    
            @Override
            public Integer previous(Integer value) {
              throw new AssertionError();
            }
    
            @Override
            public long distance(Integer start, Integer end) {
              throw new AssertionError();
            }
          };
    
      public void testCreate_noMin() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top