Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 496 for Throwables (0.08 seconds)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

              if (taskFuture.isDone()) {
                // Since the value of oldFuture can only ever be immediateVoidFuture() or setFuture of a
                // future that eventually came from immediateVoidFuture(), this doesn't leak throwables
                // or completion values.
                newFuture.setFuture(oldFuture);
              } else if (outputFuture.isCancelled() && taskExecutor.trySetCancelled()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                }
    
                // reactor failure modes
                if (t instanceof RuntimeException || !(t instanceof Exception)) {
                    // fail fast on RuntimeExceptions, Errors and "other" Throwables
                    // assume these are system errors and further build is meaningless
                    buildContext.getReactorBuildStatus().halt();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static com.google.common.testing.NullPointerTester.isNullable;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            ).build()
        assertFailsWith<IOException> {
          getResponse(newRequest("/foo"))
        }.also { expected ->
          expected.assertSuppressed { throwables: List<Throwable>? ->
            assertThat(throwables!!.size).isEqualTo(1)
          }
        }
      }
    
      /**
       * When a pooled connection fails, don't blame the route. Otherwise pooled connection failures can
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 133.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/graph/TestUtil.java

      static void assertNodeNotInGraphErrorMessage(Throwable throwable) {
        assertThat(throwable).hasMessageThat().startsWith(NODE_STRING);
        assertThat(throwable).hasMessageThat().contains(ERROR_ELEMENT_NOT_IN_GRAPH);
      }
    
      static void assertEdgeNotInGraphErrorMessage(Throwable throwable) {
        assertThat(throwable).hasMessageThat().startsWith(EDGE_STRING);
        assertThat(throwable).hasMessageThat().contains(ERROR_ELEMENT_NOT_IN_GRAPH);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLogger.java

            setMdc();
            logger.warn(message, throwable);
        }
    
        @Override
        public boolean isWarnEnabled() {
            return logger.isWarnEnabled();
        }
    
        @Override
        public void error(String message) {
            setMdc();
            logger.error(message);
        }
    
        @Override
        public void error(String message, Throwable throwable) {
            setMdc();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/log/Logger.java

        }
    
        /**
         * Outputs a log entry.
         *
         * @param throwable
         *            Exception. Must not be {@literal null}.
         */
        public void log(final Throwable throwable) {
            assertArgumentNotNull("throwable", throwable);
    
            error(throwable.getMessage(), throwable);
        }
    
        /**
         * Outputs a log entry.
         *
         * @param messageCode
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

        ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
          return ImmutableMap.of();
        }
      }
    
      private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF =
          ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder()
              .put(ArithmeticException.class, e -> e instanceof ArithmeticException)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top