Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 713 for IllegalArgumentException (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         * @param newFileId the new 16-byte file ID
         */
        public void updateFileId(byte[] newFileId) {
            if (newFileId.length != 16) {
                throw new IllegalArgumentException("File ID must be 16 bytes");
            }
            System.arraycopy(newFileId, 0, this.fileId, 0, 16);
        }
    
        @Override
        public String toString() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Iterables.java

       * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code
       * stream.collect(MoreCollectors.onlyElement())}.
       *
       * @throws NoSuchElementException if the iterable is empty
       * @throws IllegalArgumentException if the iterable contains multiple elements
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getOnlyElement(Iterable<T> iterable) {
        return Iterators.getOnlyElement(iterable.iterator());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

        }
    
        @Test
        public void test_constructorWithNullMessageAndValidCause() {
            // Test constructor with null message and valid cause
            Throwable cause = new IllegalArgumentException("Invalid argument");
            GsaConfigException exception = new GsaConfigException(null, cause);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

       * @return a new, empty {@code ObjectCountLinkedHashMap} with enough capacity to hold {@code
       *     expectedSize} elements without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
      static <K extends @Nullable Object> ObjectCountLinkedHashMap<K> createWithExpectedSize(
          int expectedSize) {
        return new ObjectCountLinkedHashMap<K>(expectedSize);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

              assertFalse(overlaps);
              mutable.add(range);
            } catch (IllegalArgumentException e) {
              assertTrue(overlaps);
              continue subsets;
            }
          }
    
          if (anyOverlaps) {
            assertThrows(IllegalArgumentException.class, () -> ImmutableRangeSet.copyOf(subset));
          } else {
            RangeSet<Integer> copy = ImmutableRangeSet.copyOf(subset);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

        }
    
        @Test
        public void test_constructor_withNullMessageAndValidCause() {
            // Test constructor with null message and valid cause
            Throwable cause = new IllegalArgumentException("Invalid argument");
            SearchEngineClientException exception = new SearchEngineClientException(null, cause);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_exceptionChaining() {
            // Test exception chaining
            Throwable rootCause = new IllegalArgumentException("Invalid argument");
            Throwable intermediateCause = new RuntimeException("Processing failed", rootCause);
            String message = "Plugin operation failed";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

        @Override
        public final void setResponse(final CommonServerMessageBlockResponse msg) {
            if (msg != null && !(msg instanceof ServerMessageBlock2)) {
                throw new IllegalArgumentException("Incompatible response");
            }
            this.response = (T) msg;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      }
    
      @Override
      public ImmutableSortedSet<E> headSet(E toElement) {
        checkNotNull(toElement);
        try {
          return unsafeDelegateSortedSet(sortedDelegate.headSet(toElement), true);
        } catch (IllegalArgumentException e) {
          return emptySet(comparator());
        }
      }
    
      @Nullable E higher(E e) {
        checkNotNull(e);
        Iterator<E> iterator = tailSet(e).iterator();
        while (iterator.hasNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/transport/ResponseTest.java

            // Verify the method was called
            verify(mockResponse, times(2)).getException();
        }
    
        @Test
        void testException() {
            Exception testException = new IllegalArgumentException("Another Test Exception");
            mockResponse.exception(testException);
    
            // Verify that the method was called with the correct argument
            verify(mockResponse, times(1)).exception(testException);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
Back to Top