Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 628 for IllegalArgumentException (0.47 sec)

  1. 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;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertThrows(NoSuchElementException.class, () -> getOnlyElement(iterable));
      }
    
      public void testGetOnlyElement_noDefault_multiple() {
        Iterable<String> iterable = asList("foo", "bar");
        assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterable));
      }
    
      public void testGetOnlyElement_withDefault_singleton() {
        Iterable<String> iterable = singletonList("foo");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

        @Override
        protected void doReceiveFragment(final byte[] buf, final boolean isDirect) throws IOException {
            int off, flags, length;
    
            if (buf.length < max_recv) {
                throw new IllegalArgumentException("buffer too small");
            }
    
            if (isStart && !isDirect) { // start of new frag, do trans
                off = in.read(buf, 0, 1024);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

                .createTestSuite());
        return suite;
      }
    
      public void testBuilderWithExpectedKeysNegative() {
        assertThrows(
            IllegalArgumentException.class, () -> ImmutableSetMultimap.builderWithExpectedKeys(-1));
      }
    
      public void testBuilderWithExpectedKeysZero() {
        ImmutableSetMultimap.Builder<String, String> builder =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              }
    
              @Override
              public final Throwable failureCause() {
                return delegate.failureCause();
              }
            };
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
                () -> new ServiceManager(Arrays.asList(service1, service2)));
        assertThat(expected).hasMessageThat().contains("started transitioning asynchronously");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            float boost = -1.0f;
    
            try {
                matchAllQueryCommand.execute(context, query, boost);
                fail("Should throw IllegalArgumentException for negative boost");
            } catch (IllegalArgumentException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("negative [boost] are not allowed"));
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        assertThrows(IllegalArgumentException.class, () -> subMap.put(firstEntry.getKey(), value));
      }
    
      public void testTailMapRemoveThrough() {
        SortedMap<K, V> map;
        try {
          map = makePopulatedMap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        assertThrows(IllegalArgumentException.class, () -> subMap.put(firstEntry.getKey(), value));
      }
    
      public void testTailMapRemoveThrough() {
        SortedMap<K, V> map;
        try {
          map = makePopulatedMap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

                return 0x0101;
            case FileInformation.FILE_STANDARD_INFO:
                return 0x0102;
            case FileInformation.FILE_ENDOFFILE_INFO:
                return 0x0104;
            }
            throw new IllegalArgumentException("Unsupported information level " + il);
        }
    
        @Override
        protected int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

            } while (i < newline)
            i++
          }
        }
      }
    
      private fun loggerTag(loggerName: String): String {
        // We need to handle long logger names before they hit Log.
        // java.lang.IllegalArgumentException: Log tag "okhttp3.mockwebserver.MockWebServer" exceeds limit of 23 characters
        return knownLoggers[loggerName] ?: loggerName.take(23)
      }
    
      fun enable() {
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top