Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,436 for exception (0.06 sec)

  1. guava-tests/test/com/google/common/io/FlushablesTest.java

      public void testFlush_flushableWithEatenException() throws IOException {
        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception on flush.
        setupFlushable(true);
        doFlush(mockFlushable, true, false);
      }
    
      public void testFlush_flushableWithThrownException() throws IOException {
        // make sure that the exception is thrown if 'swallowException' is false
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      @Param Result result;
      @Param ExceptionType exceptionType;
      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
       * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate
       * whether our solution scales to use with multiple exception types and to whether it is affected
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 22 03:01:34 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      private static boolean hasConstructorUsableByGetChecked(
          Class<? extends Exception> exceptionClass) {
        try {
          Exception unused = newWithCause(exceptionClass, new Exception());
          return true;
        } catch (Throwable t) { // sneaky checked exception
          return false;
        }
      }
    
      private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

    import org.codelibs.core.beans.impl.sub.MogeBeanFactory;
    import org.codelibs.core.exception.IllegalPropertyRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class PropertyDescImplTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testSetValue() throws Exception {
            final MyBean myBean = new MyBean();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    This diagram shows `HTTPException`, but you could also raise any other exception that you catch in a dependency with `yield` or with a [Custom Exception Handler](../handling-errors.md#install-custom-exception-handlers){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java

     */
    package org.apache.maven.plugin;
    
    /**
     * An exception occurring during the execution of a plugin (such as a compilation failure).<br>
     * Throwing this exception causes a "BUILD FAILURE" message to be displayed.
     *
     */
    public class MojoFailureException extends AbstractMojoExecutionException {
        /**
         * Construct a new <code>MojoFailureException</code> exception providing the source and a short and long message:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

        }
      }
      if (exception != null) {
        throw exception
      }
    }
    
    internal fun <E> MutableList<E>.addIfAbsent(element: E) {
      if (!contains(element)) add(element)
    }
    
    internal fun Exception.withSuppressed(suppressed: List<Exception>): Throwable =
      apply {
        for (e in suppressed) addSuppressed(e)
      }
    
    internal inline fun <T> Iterable<T>.filterList(predicate: T.() -> Boolean): List<T> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.exception.ChildUrlsException;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.exception.MaxLengthExceededException;
    import org.codelibs.fess.crawler.helper.ContentLengthHelper;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

         *
         * @throws Exception if any.
         */
        @Test
        public void testIllegalMappedType() throws Exception {
            try {
                ReflectionValueExtractor.evaluate("h.value(key)", new ValueHolder("string"));
            } catch (Exception e) {
                // TODO assert exception message
            }
        }
    
        /**
         * <p>testTrimRootToken.</p>
         *
         * @throws Exception if any.
         */
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *
       * @param exceptionType the exception type that triggers use of {@code fallback}. The exception
       *     type is matched against this step's exception. "This step's exception" means the cause of
       *     the {@link ExecutionException} thrown by {@link Future#get()} on the {@link Future}
       *     underlying this step or, if {@code get()} throws a different kind of exception, that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
Back to top