Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for setException (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/MoreExecutors.java

              /*
               * We fail this `ListenableFuture`, whose result is exposed to the user through the
               * `ListenableScheduledTask` we return from the `schedule*` methods.
               */
              setException(t);
    
              /*
               * We fail the current run of the recurring task so that it is not rescheduled. This also
               * fails the `ScheduledFuture`, which might be visible only to users who operate directly
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                                        .setMessage(e.getMessage())
                                        .setException(e));
                            }
                            cache.put(value, c);
                        }
                        return c;
                    }
                    return value;
                }
            };
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 43.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       *
       * <ul>
       *   <li>{@code null} initial state, nothing has happened.
       *   <li>{@link Cancellation} terminal state, {@code cancel} was called.
       *   <li>{@link Failure} terminal state, {@code setException} was called.
       *   <li>{@link DelegatingToFuture} intermediate state, {@code setFuture} was called.
       *   <li>{@link #NULL} terminal state, {@code set(null)} was called.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

        @CanIgnoreReturnValue
        public boolean set(@Nullable V newValue) {
          return futureValue.set(newValue);
        }
    
        @CanIgnoreReturnValue
        public boolean setException(Throwable t) {
          return futureValue.setException(t);
        }
    
        private ListenableFuture<V> fullyFailedFuture(Throwable t) {
          return immediateFailedFuture(t);
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       *
       * <ul>
       *   <li>{@code null} initial state, nothing has happened.
       *   <li>{@link Cancellation} terminal state, {@code cancel} was called.
       *   <li>{@link Failure} terminal state, {@code setException} was called.
       *   <li>{@link DelegatingToFuture} intermediate state, {@code setFuture} was called.
       *   <li>{@link #NULL} terminal state, {@code set(null)} was called.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/ResponseTest.java

            when(mockResponse.getException()).thenReturn(testException);
            assertEquals(testException, mockResponse.getException());
    
            // Test null exception
            when(mockResponse.getException()).thenReturn(null);
            assertNull(mockResponse.getException());
    
            // Verify the method was called
            verify(mockResponse, times(2)).getException();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        }
    
        @Test
        @DisplayName("Test Response interface methods - getException")
        void testGetException() {
            // Given
            Exception expectedException = new Exception("Test exception");
            when(response.getException()).thenReturn(expectedException);
    
            // When
            Exception actualException = response.getException();
    
            // Then
            assertEquals(expectedException, actualException);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

            logger.debug("Installing {} to {}", event.getMetadata(), event.getFile());
        }
    
        @Override
        public void metadataResolved(RepositoryEvent event) {
            Exception e = event.getException();
            if (e != null) {
                if (e instanceof MetadataNotFoundException) {
                    logger.debug(e.getMessage());
                } else if (logger.isDebugEnabled()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

            return Optional.ofNullable(delegate.getMojoExecution()).map(me -> new DefaultMojoExecution(session, me));
        }
    
        @Override
        public Optional<Exception> getException() {
            return Optional.ofNullable(delegate.getException());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 29 20:53:26 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

        }
    
        @Override
        public void transferFailed(TransferEvent event) {
            transferCompleted(event);
    
            println(
                    "transferFailed",
                    event.getException().getClass() + ": " + event.getException().getMessage());
        }
    
        private void transferCompleted(TransferEvent event) {
            downloads.remove(event.getResource());
    
            StringBuilder buffer = new StringBuilder(64);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top