Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 502 for Throwable (0.04 sec)

  1. guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread
      private void testSupplierThreadSafe(Function<Supplier<Boolean>, Supplier<Boolean>> memoizer)
          throws Throwable {
        AtomicInteger count = new AtomicInteger(0);
        AtomicReference<Throwable> thrown = new AtomicReference<>(null);
        int numThreads = 3;
        Thread[] threads = new Thread[numThreads];
        long timeout = SECONDS.toNanos(60);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread
      private void testSupplierThreadSafe(Function<Supplier<Boolean>, Supplier<Boolean>> memoizer)
          throws Throwable {
        AtomicInteger count = new AtomicInteger(0);
        AtomicReference<Throwable> thrown = new AtomicReference<>(null);
        int numThreads = 3;
        Thread[] threads = new Thread[numThreads];
        long timeout = SECONDS.toNanos(60);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          return; // someone else has run or is running.
        }
    
        boolean run = !isDone();
        T result = null;
        Throwable error = null;
        try {
          if (run) {
            result = runInterruptibly();
          }
        } catch (Throwable t) {
          restoreInterruptIfIsInterruptedException(t);
          error = t;
        } finally {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Throwables;
    import com.google.common.reflect.AbstractInvocationHandler;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

       * network. Incoming events may have been lost. No further calls to this listener will be made.
       */
      open fun onFailure(
        eventSource: EventSource,
        t: Throwable?,
        response: Response?,
      ) {
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            assertEquals("java.lang.RuntimeException: Root cause error", exception.getMessage());
    
            // Test with null cause
            TransportException nullCauseException = new TransportException((Throwable) null);
            assertNull(nullCauseException.getCause());
        }
    
        @Test
        @DisplayName("Test constructor with message and cause creates exception with both")
        public void testConstructorWithMessageAndCause() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

                System.err.println("Unable determine version from JAR file: " + e.getMessage());
            }
    
            return properties;
        }
    
        public static void showError(Logger logger, String message, Throwable e, boolean showStackTrace) {
            if (logger == null) {
                System.err.println(message);
                if (showStackTrace && e != null) {
                    e.printStackTrace(System.err);
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 10 15:02:53 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/InvalidPluginDescriptorException.java

    /**
     * InvalidPluginDescriptorException
     */
    public class InvalidPluginDescriptorException extends PlexusConfigurationException {
    
        public InvalidPluginDescriptorException(String message, Throwable cause) {
            super(message, cause);
        }
    
        public InvalidPluginDescriptorException(String message) {
            super(message);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/MisconfiguredToolchainException.java

    public class MisconfiguredToolchainException extends Exception {
    
        public MisconfiguredToolchainException(String message) {
            super(message);
        }
    
        public MisconfiguredToolchainException(String message, Throwable orig) {
            super(message, orig);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadataInstallationException.java

     */
    package org.apache.maven.artifact.repository.metadata;
    
    /**
     * Error while installing repository metadata.
     *
     */
    @Deprecated
    public class RepositoryMetadataInstallationException extends Throwable {
        public RepositoryMetadataInstallationException(String message) {
            super(message);
        }
    
        public RepositoryMetadataInstallationException(String message, Exception e) {
            super(message, e);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top