Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1951 - 1960 of 3,054 for throws (0.06 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

        private FacetQueryView facetQueryView;
        private TestFacetInfo testFacetInfo;
        private TestFileTypeHelper testFileTypeHelper;
        private TestFessConfig testFessConfig;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            facetQueryView = new FacetQueryView();
            testFacetInfo = new TestFacetInfo();
            testFileTypeHelper = new TestFileTypeHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/MIENameTest.java

            }
    
            // Act + Assert
            Throwable t = assertThrows(expected, () -> new MIEName(buf));
            // MIEName throws IllegalArgumentException without messages, so we don't assert on message presence
            assertNotNull(t, "Exception should be thrown");
        }
    
        @Nested
        @DisplayName("equals, hashCode, toString")
        class EqualityContract {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_2x.md

    ## Version 2.4.0-RC1
    
    _2015-05-16_
    
     *  **New HttpUrl API.** It's like `java.net.URL` but good. Note that
        `Request.Builder.url()` now throws `IllegalArgumentException` on malformed
        URLs. (Previous releases would throw a `MalformedURLException` when calling
        a malformed URL.)
    
     *  **We've improved connect failure recovery.** We now differentiate between
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Encdec.java

         * @param si the starting index in the source array
         * @param slim the limit index in the source array
         * @return the decoded String
         * @throws IOException if a decoding error occurs
         */
        public static String dec_utf8(final byte[] src, int si, final int slim) throws IOException {
            final char[] uni = new char[slim - si];
            int ui, ch;
    
            for (ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/MoreObjects.java

       * @throws NullPointerException if both {@code first} and {@code second} are null
       * @since 18.0 (since 3.0 as {@code Objects.firstNonNull()}).
       */
      public static <T> T firstNonNull(@Nullable T first, @Nullable T second) {
        if (first != null) {
          return first;
        }
        if (second != null) {
          return second;
        }
        throw new NullPointerException("Both parameters are null");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

    public class AccessTokenHelperTest extends UnitFessTestCase {
    
        protected static final int NUM = 20;
    
        private AccessTokenHelper accessTokenHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            accessTokenHelper = new AccessTokenHelper();
        }
    
        public void test_generateAccessToken() {
            List<String> tokens = new ArrayList<String>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

      public void addListener(Runnable listener, Executor exec) {
        executionList.add(listener, exec);
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit)
          throws TimeoutException, InterruptedException, ExecutionException {
    
        long timeoutNanos = unit.toNanos(timeout);
        if (timeoutNanos <= OverflowAvoidingLockSupport.MAX_NANOSECONDS_THRESHOLD) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

         * Extracts text from the input stream using the API endpoint.
         *
         * @param in the input stream to extract text from
         * @param params additional parameters
         * @return the extracted data
         * @throws ExtractException if extraction fails
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (logger.isDebugEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            assertTrue(cause3 instanceof RuntimeException);
            assertEquals("Level 3 error", cause3.getMessage());
    
            assertNull(cause3.getCause());
        }
    
        public void test_serialization() throws Exception {
            // Test serialization and deserialization
            String message = "Serializable SSO exception";
            Exception cause = new RuntimeException("Serializable cause");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top