Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 2,652 for throwIf (0.11 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

        // -------------------------------------------------------------------------------------
        public MetadataGraph resolveConflicts(MetadataGraph graph, ArtifactScopeEnum scope)
                throws GraphConflictResolutionException {
            if (policy == null) {
                throw new GraphConflictResolutionException("no GraphConflictResolutionPolicy injected");
            }
    
            if (graph == null) {
                return null;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                generateContents(tempDir, count);
    
                return tempDir;
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        private static void generateContents(final File dir, final int count) throws Exception {
            if (count <= 0) {
                return;
            }
    
            final String content = getHtmlContent(count);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

          }
        }
        return containsAll(that);
      }
    
      @Override
      public E first() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
        return elements.get(0);
      }
    
      @Override
      public E last() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
        return elements.get(size() - 1);
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/HostAndPort.java

      public boolean hasPort() {
        return port >= 0;
      }
    
      /**
       * Get the current port number, failing if no port is defined.
       *
       * @return a validated port number, in the range [0..65535]
       * @throws IllegalStateException if no port is defined. You can use {@link #withDefaultPort(int)}
       *     to prevent this from occurring.
       */
      public int getPort() {
        checkState(hasPort());
        return port;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                        isEstablished = true;
                        state++;
                        break;
                    } catch (Exception e) {
                        throw new SmbException(e.getMessage(), e);
                    }
                default:
                    throw new SmbException("Invalid state");
            }
            return token;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcBinding.java

            return this.major;
        }
    
    
        /**
         * @return the minor
         */
        int getMinor () {
            return this.minor;
        }
    
    
        void setOption ( String key, Object val ) throws DcerpcException {
            if ( key.equals("endpoint") ) {
                this.endpoint = val.toString();
                String lep = this.endpoint.toLowerCase(Locale.ENGLISH);
                if ( lep.startsWith("\\pipe\\") ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

        private final ProjectSorter sorter;
    
        private Map<String, BuildSuccess> buildSuccessesByProject = new HashMap<>();
    
        public ReactorManager(List<MavenProject> projects) throws CycleDetectedException, DuplicateProjectException {
            this.sorter = new ProjectSorter(projects);
        }
    
        public Map getPluginContext(PluginDescriptor plugin, MavenProject project) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

       * process()/processRemaining() invocations, due to alignment.
       */
      @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android.
      public void testExhaustive() throws Exception {
        Random random = new Random(0); // will iteratively make more debuggable, each time it breaks
        for (int totalInsertions = 0; totalInsertions < 200; totalInsertions++) {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RangeMap.java

       * for {@code asMapOfRanges().iterator().remove()}.
       *
       * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to
       * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}.
       */
      // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it.
      RangeMap<K, V> subRangeMap(Range<K> range);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // inclusive.
        //
        // Note: According to the spec, a NumberFormatException is thrown for a number that is not
        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top