Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 496 for Throwables (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java

        private final String projectId;
    
        private File pomFile;
    
        private List<ProjectBuildingResult> results;
    
        public ProjectBuildingException(String projectId, String message, Throwable cause) {
            super(createMessage(message, projectId, null), cause);
            this.projectId = projectId;
        }
    
        /**
         * @param projectId
         * @param message
         * @param pomFile   pom file location
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jul 26 19:15:57 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java

    /**
     * Handler for exceptions thrown by event subscribers.
     *
     * @since 16.0
     */
    public interface SubscriberExceptionHandler {
      /** Handles exceptions thrown by subscribers. */
      void handleException(Throwable exception, SubscriberExceptionContext context);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 894 bytes
    - Click Count (0)
  3. 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);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  4. 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);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  5. 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 {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 10K bytes
    - Click Count (0)
  6. 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?,
      ) {
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. 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() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. 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);
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 10 15:02:53 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. 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);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  10. 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);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 1.1K bytes
    - Click Count (0)
Back to Top