- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for hasFailure (0.23 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/ConflictResolverDetails.java
void select(T candidate); void fail(Throwable error); @Nullable T getSelected(); @Nullable Throwable getFailure(); boolean hasFailure(); boolean hasSelected();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultConflictResolverDetails.java
public T getSelected() { return selected; } @Nullable @Override public Throwable getFailure() { return failure; } @Override public boolean hasFailure() { return failure != null; } @Override public boolean hasSelected() { return selected != null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java
protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>()); public void addFailure(final Throwable t) { failures.add(t); } public boolean hasFailure() { return !failures.isEmpty(); } public List<Throwable> getFailures() { return failures; }
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DependencySubstitutionApplicator.java
return result; } @Nullable public Throwable getFailure() { return failure; } public boolean hasFailure() { return failure != null; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/RunBuildAction.java
); if (result.hasFailure()) { // Don't need to unpack the serialized failure. It will already have been reported and is not used by anything downstream of this action. throw new ReportedException(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/exec/BuildActionResult.java
public SerializedPayload getFailure() { return serializedFailure; } @Nullable public RuntimeException getException() { return failure; } public boolean hasFailure() { return failure != null || serializedFailure != null; } public void rethrow() { if (failure != null) { throw failure; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
internal var isDuplex: Boolean = false private set /** True if there was an exception on the connection to the peer. */ internal var hasFailure: Boolean = false private set internal val connection: RealConnection get() = codec.carrier as? RealConnection ?: error("no connection for CONNECT tunnels") internal val isCoalescedConnection: Boolean
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/AbstractConflictResolverTest.groovy
assert details.hasSelected() assert details.selected.version == version } protected void resolutionFailedWith(String message) { assert details.hasFailure() assert details.failure.message == message } protected void candidateVersions(List<String> versions) { versions.each { prefer(it) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultConflictHandler.java
ConflictResolverDetails<ComponentState> details = new DefaultConflictResolverDetails<>(conflict.candidates); resolver.select(details); if (details.hasFailure()) { throw UncheckedException.throwAsUncheckedException(details.getFailure()); } ComponentResolutionState selected = details.getSelected();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 02:21:08 UTC 2024 - 5.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
exchange.finishRequest() } } catch (e: IOException) { if (e is ConnectionShutdownException) { throw e // No request was sent so there's no response to read. } if (!exchange.hasFailure) { throw e // Don't attempt to read the response; we failed to send the request. } sendRequestException = e } try { if (responseBuilder == null) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.3K bytes - Viewed (0)