Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2541 - 2550 of 3,670 for throwIf (0.27 seconds)

  1. src/main/java/org/codelibs/curl/CurlException.java

     * This class extends {@link RuntimeException} and provides constructors
     * to create an exception instance with a message and an optional cause.
     *
     * <p>Usage examples:</p>
     * <pre>
     *     throw new CurlException("Error message");
     *     throw new CurlException("Error message", cause);
     * </pre>
     *
     * @see RuntimeException
     */
    public class CurlException extends RuntimeException {
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Jul 05 01:38:18 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

      static native String emptyToNull(@Nullable String string) /*-{
        return string || null;
      }-*/;
    
      static CommonPattern compilePattern(String pattern) {
        throw new UnsupportedOperationException();
      }
    
      static boolean patternCompilerIsPcreLike() {
        throw new UnsupportedOperationException();
      }
    
      static String lenientFormat(@Nullable String template, @Nullable Object @Nullable ... args) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 03 21:52:39 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exception/InvalidQueryException.java

     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.mylasta.action.FessMessages;
    import org.lastaflute.web.validation.VaMessenger;
    
    /**
     * Exception thrown when an invalid query is encountered.
     * This exception is typically used in search contexts where a provided
     * query is malformed, contains invalid syntax, or violates query constraints.
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/LoggingOutputStream.java

        private int start = 0;
    
        /** Offset of the end (semi-open) of unwritten data in the buffer */
        private int end = 0;
    
        @Override
        public void write(final int b) throws IOException {
            if (b == 0) {
                return;
            }
            if (b == '\n') {
                // always flush with newlines instead of adding to the buffer
                flush();
                return;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                    getLogger().error(message);
                    fw.println(message);
                }
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
            throw new GradleException("Documentation assertion failed: found invalid internal links. See " + new org.gradle.internal.logging.ConsoleRenderer().asClickableFileUrl(reportFile));
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java

      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testContains_nullNotContainedAndUnsupported() {
        expectNullKeyMissingWhenNullKeysUnsupported("containsKey(null) should return false or throw");
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testContains_nonNullWhenNullContained() {
        initMapWithNullKey();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 26 21:06:36 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/io/LineIterator.java

        }
    
        @Override
        public String next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final String result = line;
            line = EMPTY;
            return result;
        }
    
        @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
    - 3.6K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/AntTask.groovy

         */
        public final ByteArrayOutputStream outputBuffer = new ByteArrayOutputStream()
    
        @Inject
        protected FileSystemOperations getFileSystemOperations() {
            throw new UnsupportedOperationException();
        }
    
        @TaskAction
        final void executeTask() {
            AntBuilder ant = new AntBuilder()
    
            // remove existing loggers, we add our own
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantShellTask.java

        public VagrantShellTask() {
            extension = getProject().getExtensions().findByType(VagrantExtension.class);
            if (extension == null) {
                throw new IllegalStateException("elasticsearch.vagrant-base must be applied to create " + getClass().getName());
            }
            service = getProject().getExtensions().getByType(VagrantMachine.class);
        }
    
        @Input
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

                if (logger.isDebugEnabled()) {
                    logger.debug("PhraseQuery: query={}, boost={}", query, boost);
                }
                return convertPhraseQuery(context, phraseQuery, boost);
            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top