Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 2,652 for throwIf (0.12 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         * @return the most specific applicable method, or null if no
         *         method is applicable.
         * @throws AmbiguousException if there is more than one maximally
         *                            specific applicable method
         */
        Method find(String methodName, Object... args) throws AmbiguousException {
            List<Method> methodList = get(methodName);
    
            if (methodList == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
        assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS));
      }
    
      public void testSetValue() throws Exception {
        assertTrue(future.set("value"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      abstract boolean isDone();
    
      /**
       * Do interruptible work here - do not complete Futures here, as their listeners could be
       * interrupted.
       */
      @ParametricNullness
      abstract T runInterruptibly() throws Exception;
    
      /**
       * Any interruption that happens as a result of calling interruptTask will arrive before this
       * method is called. Complete Futures here.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. 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
    - 7.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/WagonManager.java

        @Deprecated
        Wagon getWagon(String protocol) throws UnsupportedProtocolException;
    
        @Deprecated
        Wagon getWagon(Repository repository) throws UnsupportedProtocolException, WagonConfigurationException;
    
        //
        // Retriever
        //
        void getArtifact(Artifact artifact, ArtifactRepository repository, TransferListener transferListener, boolean force)
                throws TransferFailedException, ResourceDoesNotExistException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

        }
        public String dec_ndr_string() throws NdrException {
            align(4);
            int i = index;
            String val = null;
            int len = Encdec.dec_uint32le(buf, i);
            i += 12;
            if (len != 0) {
                len--;
                int size = len * 2;
                try {
                    if (size < 0 || size > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

        }
    
        public void initTreeProcessing(PlexusContainer plexus) throws ComponentLookupException {
            classpathTransformation = plexus.lookup(ClasspathTransformation.class);
            conflictResolver = plexus.lookup(GraphConflictResolver.class);
        }
        // ----------------------------------------------------------------------------
        public MetadataGraph getGraph() throws MetadataResolutionException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharSink.java

       * writer each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned writer is closed.
       *
       * @throws IOException if an I/O error occurs while opening the writer
       */
      public abstract Writer openStream() throws IOException;
    
      /**
       * Opens a new buffered {@link Writer} for writing to this sink. The returned stream is not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingBlockingDeque.java

        return delegate().pollFirst(timeout, unit);
      }
    
      @Override
      @CheckForNull
      public E pollLast(long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().pollLast(timeout, unit);
      }
    
      @Override
      public void put(E e) throws InterruptedException {
        delegate().put(e);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

        }
    
    
        public String dec_ndr_string () throws NdrException {
            align(4);
            int i = this.index;
            String val = null;
            int len = Encdec.dec_uint32le(this.buf, i);
            i += 12;
            if ( len != 0 ) {
                len--;
                int size = len * 2;
                if ( size < 0 || size > 0xFFFF )
                    throw new NdrException(NdrException.INVALID_CONFORMANCE);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
Back to top