- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for initCauses (0.28 sec)
-
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/exceptions/DefaultMultiCauseException.java
public List<? extends Throwable> getCauses() { return causes; } @Override public synchronized Throwable initCause(Throwable throwable) { causes.clear(); causes.add(throwable); return null; } public void initCauses(Iterable<? extends Throwable> causes) { this.causes.clear(); for (Throwable cause : causes) { this.causes.add(cause);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/ModuleVersionResolveException.java
this(selector, format("Could not resolve %s.", selector)); initCause(cause); } public ModuleVersionResolveException(ComponentSelector selector, Iterable<? extends Throwable> causes) { this(selector, format("Could not resolve %s.", selector)); initCauses(causes); } public ModuleVersionResolveException(ModuleVersionSelector selector, Factory<String> message) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 19:29:09 UTC 2024 - 6.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/exception/DefaultExceptionAnalyser.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 13:10:04 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/exceptions/DefaultMultiCauseExceptionTest.groovy
failure.initCause(cause1) expect: failure.cause == cause1 failure.causes == [cause1] } def canUseInitCausesToProvideMultipleCause() { def cause1 = new RuntimeException() def cause2 = new RuntimeException() def failure = new TestMultiCauseException('message', []) failure.initCauses([cause1, cause2]) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 6.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/InstantiationRuntimeException.java
this.targetClass = targetClass; } @Override public synchronized InstantiationRuntimeException initCause(final Throwable cause) { return (InstantiationRuntimeException) super.initCause(cause); } /** * ターゲットクラスを返します。 * * @return ターゲットクラス */ public Class<?> getTargetClass() { return targetClass; }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* and https://github.com/jspecify/jspecify/issues/490. * * (That would also have ensured that its cause was always an Error, rather than possibly another * kind of Throwable that was later passed to initCause. Then we could have declared the override * `public final Error getCause()`.) */ /** * Creates a new instance with {@code null} as its detail message and no cause. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Mar 07 17:52:19 UTC 2024 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionError.java
* and https://github.com/jspecify/jspecify/issues/490. * * (That would also have ensured that its cause was always an Error, rather than possibly another * kind of Throwable that was later passed to initCause. Then we could have declared the override * `public final Error getCause()`.) */ /** * Creates a new instance with {@code null} as its detail message and no cause. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Mar 07 17:52:19 UTC 2024 - 3.8K bytes - Viewed (0) -
okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt
initCause(e) }, ) } }, ) } catch (e: Exception) { // Handle any errors that might leak out // https://issuetracker.google.com/issues/319957694 callback.onFailure( hostname, UnknownHostException(e.message).apply { initCause(e) }, ) } }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 01 10:07:48 UTC 2024 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* cause. At the moment, you can <i>usually</i> still preserve behavior by passing an explicit * {@code null} cause. Note, however, that passing an explicit {@code null} cause prevents * anyone from calling {@link #initCause} later, so it is not quite equivalent to using a * constructor that omits the cause. */ @Deprecated protected UncheckedExecutionException() {} /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Mar 07 17:52:19 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/ListenerFailedException.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.3K bytes - Viewed (0)