Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 613 for IllegalArgumentException (0.13 sec)

  1. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       *
       * @throws ClassCastException if the class of the specified element prevents it from being added
       *     to the given queue
       * @throws IllegalArgumentException if some property of the specified element prevents it from
       *     being added to the given queue
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SpnegoContext.java

        private static ASN1ObjectIdentifier SPNEGO_MECH_OID;
    
        static {
            try {
                SPNEGO_MECH_OID = new ASN1ObjectIdentifier("1.3.6.1.5.5.2");
            }
            catch ( IllegalArgumentException e ) {
                log.error("Failed to initialize OID", e);
            }
        }
    
        private SSPContext mechContext;
    
        private boolean firstResponse = true;
        private boolean completed;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                  }
                }
              });
          executor.execute(
              new Runnable() {
                @Override
                public void run() {
                  future.setException(new IllegalArgumentException("failure"));
                  if (!future.isDone()) {
                    errorMessage.set("SetException call exited before future was complete.");
                  }
                }
              });
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashCode.java

      }
    
      private static int decode(char ch) {
        if (ch >= '0' && ch <= '9') {
          return ch - '0';
        }
        if (ch >= 'a' && ch <= 'f') {
          return ch - 'a' + 10;
        }
        throw new IllegalArgumentException("Illegal hexadecimal character: " + ch);
      }
    
      /**
       * Returns {@code true} if {@code object} is a {@link HashCode} instance with the identical byte
       * representation to this hash code.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractBiMap.java

            // consistent state by removing the bad entry.
            itr.remove();
          }
        }
        if (broken != null) {
          throw new IllegalArgumentException("value already present: " + broken.getValue());
        }
      }
    
      @Override
      public void clear() {
        delegate.clear();
        inverse.delegate.clear();
      }
    
      // Views
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/FieldUtil.java

            try {
                field.set(target, value);
            } catch (final IllegalAccessException e) {
                throw new IllegalAccessRuntimeException(field.getDeclaringClass(), e);
            } catch (final IllegalArgumentException e) {
                final Class<?> clazz = field.getDeclaringClass();
                final Class<?> fieldClass = field.getType();
                final Class<?> valueClass = value == null ? null : value.getClass();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

         */
        @Override
        public ResponseData doGet(final String url) {
            HttpUriRequest httpGet;
            try {
                httpGet = new HttpGet(url);
            } catch (final IllegalArgumentException e) {
                throw new CrawlingAccessException("The url may not be valid: " + url, e);
            }
            return doHttpMethod(url, httpGet);
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        builder.add(5.0);
        ImmutableDoubleArray array = builder.build();
        assertThat(array.asList()).containsExactly(5.0);
      }
    
      public void testBuilder_presize_negative() {
        assertThrows(IllegalArgumentException.class, () -> ImmutableDoubleArray.builder(-1));
      }
    
      /**
       * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell
       * out of it for a while and see what happens.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

        }
    
        public static SuggestItem merge(final SuggestItem item1, final SuggestItem item2) {
            if (!item1.getId().equals(item2.getId())) {
                throw new IllegalArgumentException("Item id is mismatch.");
            }
    
            final SuggestItem mergedItem = new SuggestItem();
    
            mergedItem.id = item1.getId();
            mergedItem.text = item1.getText();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ListeningExecutorService e = newDirectExecutorService();
        try {
          invokeAnyImpl(e, new ArrayList<Callable<String>>(), false, 0, NANOSECONDS);
          fail();
        } catch (IllegalArgumentException success) {
        } finally {
          joinPool(e);
        }
      }
    
      /** invokeAny(c) throws NPE if c has null elements */
      public void testInvokeAnyImpl_nullElement() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top