Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 297 for kFailure (0.07 sec)

  1. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

        for (entry in list) {
          var failure: Throwable? = null
          try {
            testToAscii(entry.input!!, entry.output, entry.comment)
          } catch (e: Throwable) {
            failure = e
          }
    
          if (entry.input in knownFailures) {
            if (failure == null) failures += AssertionError("known failure didn't fail: $entry")
          } else {
            if (failure != null) failures += failure
          }
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. disabled-Jenkinsfile

            currentBuild.result = "ABORTED"
        } else {
            currentBuild.result = "FAILURE"
        }
        throw e
    } catch (InterruptedException e) {
        echo "[FAILURE-004] ${e}"
        currentBuild.result = "ABORTED"
        throw e
    } catch (Throwable e) {
        echo "[FAILURE-001] ${e}"
        currentBuild.result = "FAILURE"
        throw e
    } finally {
        // notify completion
        stage("Notifications") {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 30 14:11:55 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java

         * @param cause The cause of the build failure, may be {@code null}.
         */
        public BuildFailure(MavenProject project, long execTime, long wallTime, Throwable cause) {
            super(project, execTime, wallTime);
            this.cause = cause;
        }
    
        /**
         * Gets the cause of the build failure.
         *
         * @return The cause of the build failure or {@code null} if unknown.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

      }
    
      fun assertFailure(t: Throwable?) {
        val event = nextEvent() as Failure
        assertThat(event.response).isNull()
        assertThat(event.t).isSameAs(t)
      }
    
      fun assertFailure(
        cls: Class<out IOException?>?,
        vararg messages: String,
      ) {
        val event = nextEvent() as Failure
        assertThat(event.response).isNull()
        assertThat(event.t.javaClass).isEqualTo(cls)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

                when {
                  tcpConnectResult.isSuccess -> plan.connectTlsEtc()
                  else -> tcpConnectResult
                }
    
              val (_, nextPlan, failure) = connectResult
    
              if (failure != null) throw failure
              if (nextPlan != null) {
                routePlanner.deferredPlans.addFirst(nextPlan)
                continue
              }
            }
            return plan.handleSuccess()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractService.java

          checkArgument(
              (failure != null) == (internalState == FAILED),
              "A failure cause should be set if and only if the state is failed.  Got %s and %s "
                  + "instead.",
              internalState,
              failure);
          this.state = internalState;
          this.shutdownWhenStartupFinishes = shutdownWhenStartupFinishes;
          this.failure = failure;
        }
    
        /** @see Service#state() */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractService.java

          checkArgument(
              (failure != null) == (internalState == FAILED),
              "A failure cause should be set if and only if the state is failed.  Got %s and %s "
                  + "instead.",
              internalState,
              failure);
          this.state = internalState;
          this.shutdownWhenStartupFinishes = shutdownWhenStartupFinishes;
          this.failure = failure;
        }
    
        /** @see Service#state() */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/RecordedResponse.kt

            if (expectedClass.isInstance(failure)) {
              found = true
              break
            }
          }
          assertThat(
            found,
            "Expected exception type among ${allowedExceptionTypes.contentToString()}, got $failure",
          ).isTrue()
        }
    
      fun assertFailure(vararg messages: String) =
        apply {
          assertThat(failure, "No failure found").isNotNull()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

      fun assertFailure(message: String?) {
        val event = nextEvent() as Failure
        if (message != null) {
          assertThat(event.t!!.message).isEqualTo(message)
        } else {
          assertThat(event.t).isNull()
        }
      }
    
      internal data class Open(
        val eventSource: EventSource,
        val response: Response,
      )
    
      internal data class Failure(
        val t: Throwable?,
        val response: Response?,
      )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top