Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 1,790 for threw (0.02 sec)

  1. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (input == null) {
                final String msg = "The argument 'input' should not be null.";
                throw new IllegalArgumentException(msg);
            }
            if (!input.startsWith("/")) {
                final String msg = "The argument 'input' should start with slash '/': " + input;
                throw new IllegalArgumentException(msg);
            }
            final StringBuilder sb = new StringBuilder();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                        result.setVersion(version);
                    }
                }
    
                if (result.getVersion() == null || result.getVersion().isEmpty()) {
                    throw new VersionResolutionException(result);
                }
            }
    
            if (cacheKey != null && metadata != null && isSafelyCacheable(session, artifact)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Futures.java

      @ParametricNullness
      public static <V extends @Nullable Object> V getDone(Future<V> future) throws ExecutionException {
        /*
         * We throw IllegalStateException, since the call could succeed later. Perhaps we "should" throw
         * IllegalArgumentException, since the call could succeed with a different argument. Those
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type2Message.java

            int pos = 0;
            for ( int i = 0; i < 8; i++ ) {
                if ( input[ i ] != NTLMSSP_SIGNATURE[ i ] ) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            pos += 8;
    
            if ( readULong(input, pos) != NTLMSSP_TYPE2 ) {
                throw new IOException("Not a Type 2 message.");
            }
            pos += 4;
    
            int flags = readULong(input, pos + 8);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        class BadRunnableException extends RuntimeException {}
    
        Runnable bad =
            new Runnable() {
              @Override
              public void run() {
                throw new BadRunnableException();
              }
            };
    
        future.set(1);
        future.addListener(bad, directExecutor()); // BadRunnableException must not propagate.
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                parser.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY);
                parser.parse(is, this);
            } catch (final Exception e) {
                throw new GsaConfigException("Failed to parse XML file.", e);
            }
        }
    
        @Override
        public void startDocument() throws SAXException {
            tagQueue = new LinkedList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * Removes and returns the greatest element of this queue.
       *
       * @throws NoSuchElementException if the queue is empty
       */
      @CanIgnoreReturnValue
      public E removeLast() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
        return removeAndGet(getMaxElementIndex());
      }
    
      /**
       * Retrieves, but does not remove, the greatest element of this queue, or returns {@code null} if
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RecordingCallback.kt

            }
          }
          val nowMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime())
          if (nowMillis >= timeoutMillis) break
          (this as Object).wait(timeoutMillis - nowMillis)
        }
    
        throw AssertionError("Timed out waiting for response to $url")
      }
    
      companion object {
        val TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(10)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

            .url("https://api.github.com/markdown/raw")
            .post(requestBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostStreaming().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

      static PublicSuffixType fromCode(char code) {
        for (PublicSuffixType value : values()) {
          if (value.getInnerNodeCode() == code || value.getLeafNodeCode() == code) {
            return value;
          }
        }
        throw new IllegalArgumentException("No enum corresponding to given code: " + code);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2K bytes
    - Viewed (0)
Back to top