Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2441 - 2450 of 3,670 for throwIf (0.5 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java

      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES)
      public void testContains_nullNotContainedAndUnsupported() {
        expectNullMissingWhenNullUnsupported("contains(null) should return false or throw");
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContains_nonNullWhenNullContained() {
        initCollectionWithNullElement();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/CombinedFuture.java

          super(listenerExecutor);
          this.callable = checkNotNull(callable);
        }
    
        @Override
        ListenableFuture<V> runInterruptibly() throws Exception {
          ListenableFuture<V> result = callable.call();
          return checkNotNull(
              result,
              "AsyncCallable.call returned null instead of a Future. "
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            void testSetResponseNull() {
                testRequest.setResponse(null);
                assertNull(testRequest.getResponse());
            }
    
            @Test
            @DisplayName("setResponse should throw exception for incompatible response")
            void testSetResponseIncompatible() {
                CommonServerMessageBlockResponse incompatibleResponse = mock(CommonServerMessageBlockResponse.class);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

                throw new IllegalStateException("Expected exactly 2 majors in parsed versions but found: " + majors);
            }
        }
    
        private void assertCurrentVersionMatchesParsed(Version currentVersionProperty) {
            if (currentVersionProperty.equals(currentVersion) == false) {
                throw new IllegalStateException(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ArrayTableColumnTest.java

      public ArrayTableColumnTest() {
        super(true, true, false, false, false);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Map<String, Integer> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/test/net/protocol/xxx1/Handler.java

    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "web";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1006 bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/collection/ArrayIterator.java

                final T o = items[index];
                index++;
                return o;
            } catch (final IndexOutOfBoundsException e) {
                throw new NoSuchElementException("index=" + index);
            }
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. .ci/init.gradle

      }
    }
    
    boolean USE_ARTIFACTORY = false
    
    if (System.getenv('VAULT_ADDR') == null) {
      throw new GradleException("You must set the VAULT_ADDR environment variable to use this init script.")
    }
    
    if (System.getenv('VAULT_ROLE_ID') == null && System.getenv('VAULT_SECRET_ID') == null && System.getenv('VAULT_TOKEN') == null) {
      throw new GradleException("You must set either the VAULT_ROLE_ID and VAULT_SECRET_ID environment variables, " +
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Nov 13 10:14:04 GMT 2019
    - 3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exception/GsaConfigException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when GSA (Google Search Appliance) configuration errors occur.
     * This exception extends FessSystemException and is used to handle specific
     * configuration-related issues when working with GSA integration.
     *
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exception/LdapOperationException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * An exception thrown when an LDAP operation fails.
     */
    public class LdapOperationException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top