- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 259 for failure (0.16 sec)
-
guava-tests/test/com/google/common/base/PreconditionsTest.java
* * - _shouldn't_ be null, so we don't annotate it with @Nullable * * - _can_ be null without causing a runtime failure (because we don't want the interesting * details of precondition failure to be hidden by an exception we throw about an unexpectedly * null _failure message_) * * That combination upsets NullPointerTester, which wants any call that passes null for a
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
} public void testCheckNoOverflow_failure() { try { MathPreconditions.checkNoOverflow(false, "testCheckNoOverflow_failure", 0, 0); fail(); } catch (ArithmeticException expected) { assertThat(expected).hasMessageThat().contains("testCheckNoOverflow_failure(0, 0)"); } } public void testNulls() { /*
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
@Override protected void doStart() { notifyFailed(new IllegalStateException("start failure")); } } private static class FailRunService extends NoOpService { @Override protected void doStart() { super.doStart(); notifyFailed(new IllegalStateException("run failure")); } } private static class FailStopService extends NoOpService { @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 02 17:20:27 GMT 2023 - 23.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 14:48:57 GMT 2023 - 27.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
checkNotNull(throwable); if (!state.permitsPublicUserToTransitionTo(State.FAILURE)) { return false; } forceSetException(throwable); return true; } private void forceSetException(Throwable throwable) { this.throwable = throwable; this.state = State.FAILURE; notifyAndClearListeners(); } @CanIgnoreReturnValue
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 19:37:41 GMT 2024 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
private void handleException(Throwable throwable) { checkNotNull(throwable); if (allMustSucceed) { // As soon as the first one fails, make that failure the result of the output future. // The results of all other inputs are then ignored (except for logging any failures). boolean completedWithFailure = setException(throwable); if (!completedWithFailure) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 15.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
// notify listeners about "soft" project build failures only if (t instanceof Exception && !(t instanceof RuntimeException)) { eventCatapult.fire(ExecutionEvent.Type.ProjectFailed, currentSession, null, (Exception) t); } // reactor failure modes if (t instanceof RuntimeException || !(t instanceof Exception)) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java
if (logger.isDebugEnabled()) { logger.debug("container was destroyed."); } return; } logger.warn("Failed to store a failure url.", e); } super.processCrawlingAccessException(objs); if (objs.length > 1 && objs[1] instanceof final UrlQueue<?> urlQueue) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/VerifyTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
@Nullable private String value = null; @Nullable private Throwable failure = null; private boolean wasCalled = false; MockCallback(String expectedValue) { this.value = expectedValue; } public MockCallback(Throwable expectedFailure) { this.failure = expectedFailure; } @Override public synchronized void onSuccess(String result) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 6.3K bytes - Viewed (0)