- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for initCauses (0.14 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) -
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/core-runtime/logging/src/test/groovy/org/gradle/internal/problems/failure/DefaultFailureFactoryTest.groovy
def factory = new DefaultFailureFactory(StackTraceClassifier.USER_CODE) def e0 = SimulatedJavaException.simulateDeeperException() def e = new RuntimeException("BOOM", e0) e0.initCause(e) e0.addSuppressed(e) when: def failure = factory.create(e) def failureCause = failure.causes[0] then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 06:11:26 UTC 2024 - 1.4K bytes - Viewed (0) -
android/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)