Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2101 - 2110 of 2,310 for rethrow (0.12 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

        PUNYCODE,
    
        /** This code point is special and should not be tested.  */
        SKIP,
    
        ;
    
        open fun encode(codePoint: Int): String = throw UnsupportedOperationException()
      }
    
      enum class Component {
        USER {
          override fun urlString(value: String): String = "http://$******@****.***/"
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/Cache.java

       * state other than that in the key.
       *
       * <p><b>Warning:</b> as with {@link CacheLoader#load}, {@code loader} <b>must not</b> return
       * {@code null}; it may either return a non-null value or throw an exception.
       *
       * <p>No observable state associated with this cache is modified until loading completes.
       *
       * @throws ExecutionException if a checked exception was thrown while loading the value
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ObjectArrays.java

      // We do this instead of Preconditions.checkNotNull to save boxing and array-creation cost.
      @CanIgnoreReturnValue
      static Object checkElementNotNull(@Nullable Object element, int index) {
        if (element == null) {
          throw new NullPointerException("at index " + index);
        }
        return element;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java

        @Override
        public char charAt(int index) {
          return chunks.get(index >> chunkShift).charAt(index & chunkMask);
        }
    
        @Override
        public CharSequence subSequence(int start, int end) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public String toString() {
          StringBuilder sb = new StringBuilder(length);
          for (CharSequence chunk : chunks) {
            sb.append(chunk);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

             */
            public Integer echo(final Integer arg) {
                return arg;
            }
    
            /**
             *
             */
            public void throwException() {
                throw new IllegalStateException("hoge");
            }
        }
    
        /**
         *
         */
        public class MyBean2 {
            /**
             *
             */
            public MyBean2() {
            }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            assertEquals(flags, header.getFlags());
            assertEquals(testSessionId, header.getSessionId());
        }
    
        @Test
        @DisplayName("Should throw exception for invalid nonce in constructor")
        void testConstructorWithInvalidNonce() {
            // Given
            byte[] invalidNonce = new byte[10]; // Wrong size
    
            // When/Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

                if (copy.locations != null) {
                    copy.locations = new java.util.LinkedHashMap(copy.locations);
                }
    
                return copy;
            } catch (Exception ex) {
                throw (RuntimeException)
                        new UnsupportedOperationException(getClass().getName() + " does not support clone()").initCause(ex);
            }
        } // -- InputLocation clone()
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GenerateReleaseNotesTask.java

                .sorted(naturalOrder())
                .collect(toList());
    
            if (earlierVersions.isEmpty()) {
                throw new GradleException("Failed to find git tags prior to [v" + currentVersion + "]");
            }
    
            Map<QualifiedVersion, Set<File>> partitionedFiles = new HashMap<>();
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 12.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Ordering.java

          }
    
          // identityHashCode collision (rare, but not as rare as you'd think)
          int result = getUid(left).compareTo(getUid(right));
          if (result == 0) {
            throw new AssertionError(); // extremely, extremely unlikely.
          }
          return result;
        }
    
        @Override
        public String toString() {
          return "Ordering.arbitrary()";
        }
    
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        if (collection == null) {
          collection = createCollection(key);
          if (collection.add(value)) {
            totalSize++;
            map.put(key, collection);
            return true;
          } else {
            throw new AssertionError("New Collection violated the Collection spec");
          }
        } else if (collection.add(value)) {
          totalSize++;
          return true;
        } else {
          return false;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
Back to Top