- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 90 for setException (0.06 sec)
-
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 directlyRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
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) -
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) -
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); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 19:35:11 UTC 2025 - 148.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)