Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 5,466 for throws (0.26 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        }
        verifyThreadWasNotInterrupted();
      }
    
      public void testFailed() throws Exception {
        final Exception e = new Exception();
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
                    throw e;
                  }
                });
        task.run();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

         *  @param expression A valid XPath string.
         *  @return A XPathNodes, should never be null.
         *
         * @throws XPathExpressionException
         */
        public XPathNodes selectNodeList(final Node contextNode, final String expression) throws XPathExpressionException {
            return xPath.evaluateExpression(expression, contextNode, XPathNodes.class);
        }
    
        /**
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/AbstractModuleDescriptorParser.java

            } catch (MetaDataParseException e) {
                throw e;
            } catch (Exception e) {
                throw new MetaDataParseException(getTypeName(), resource, e);
            }
        }
    
        protected abstract String getTypeName();
    
        protected abstract ParseResult<T> doParseDescriptor(DescriptorParseContext ivySettings, LocallyAvailableExternalResource resource, boolean validate) throws Exception;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/ExponentialBackoff.java

         * @param <T> the result type.
         * @return the last value returned by the query.
         * @throws IOException thrown by the query.
         * @throws InterruptedException if interrupted while waiting.
         */
        public <T> T retryUntil(Query<T> query) throws IOException, InterruptedException {
            int iteration = 0;
            Result<T> result;
            while (!(result = query.run()).isSuccessful()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:49:35 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtensionContainer.java

        /**
         * Looks for the extension of a given type (useful to avoid casting). If none found it will throw an exception.
         *
         * @param type extension type
         * @return extension, never null
         * @throws UnknownDomainObjectException When the given extension is not found.
         */
        <T> T getByType(Class<T> type) throws UnknownDomainObjectException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 16:56:20 UTC 2019
    - 9.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testIsToOs() throws Exception {
            final int result = copy(is, os);
            assertThat(result, is(srcBytes.length));
            assertThat(os.toByteArray(), is(srcBytes));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReaderToWriter() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/FileAccess.java

         *
         * @throws LockTimeoutException On timeout acquiring lock, if required.
         * @throws IllegalStateException When this lock has been closed.
         * @throws FileIntegrityViolationException If the integrity of the file cannot be guaranteed (i.e. {@link #writeFile(Runnable)} has never been called)
         * @throws InsufficientLockModeException If the held lock is not an exclusive lock.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java

        } catch (IOException e) {
          result.close();
          throw e;
        }
        return result;
      }
    
      @Override public Socket createSocket(
          String host, int port, InetAddress localHost, int localPort) throws IOException {
        return createSocket(host, port);
      }
    
      @Override public Socket createSocket(InetAddress host, int port) throws IOException {
        Socket result = createSocket();
    
        try {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 03 21:33:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGetElementType_Rawtype() throws Exception {
            assertThat(FieldUtil.getElementTypeOfCollection(Baz.class.getField("collectionOfRawtype")), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        public void testGetElementTypeOfCollection() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top