- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 76 for initCauses (0.24 sec)
-
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) -
maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java
} }; causeRef.set(cause2); Plugin plugin = new Plugin(); Exception cause = new PluginContainerException(plugin, null, null, cause2); cause2.initCause(cause); PluginDescriptor pluginDescriptor = new PluginDescriptor(); MojoDescriptor mojoDescriptor = new MojoDescriptor(); mojoDescriptor.setPluginDescriptor(pluginDescriptor);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 06 10:31:03 UTC 2024 - 6.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/internal/buildevents/BuildFailureIntegrationTest.groovy
} def "can handle circular exception"() { buildFile << """ Exception selfReferencingException = new Exception("BOOM self") selfReferencingException.initCause(new Exception("BOOM cause", selfReferencingException)) throw selfReferencingException """ when: fails("help", "-s") then: failureCauseContains("BOOM self")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 13:10:04 UTC 2024 - 1.9K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/LocalRepositoryNotAccessibleException.java
* */ @Deprecated public class LocalRepositoryNotAccessibleException extends IOException { public LocalRepositoryNotAccessibleException(String message, Throwable cause) { super(message); initCause(cause); } public LocalRepositoryNotAccessibleException(String message) { super(message); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 1.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
try { return x509TrustManagerExtensions.checkServerTrusted(certificates, "RSA", hostname) } catch (ce: CertificateException) { throw SSLPeerUnverifiedException(ce.message).apply { initCause(ce) } } } override fun equals(other: Any?): Boolean = other is AndroidCertificateChainCleaner && other.trustManager === this.trustManager
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/PlaceholderAssertionError.java
this.exceptionClassName = exceptionClassName; this.getMessageException = getMessageException; this.toString = toString; this.toStringRuntimeEx = toStringException; initCause(cause); } @Override public String getExceptionClassName() { return exceptionClassName; } @Override public String getMessage() { if (getMessageException != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.3K bytes - Viewed (0) -
maven-model/src/main/java/org/apache/maven/model/InputSource.java
return copy; } catch (Exception ex) { throw (RuntimeException) new UnsupportedOperationException(getClass().getName() + " does not support clone()").initCause(ex); } } // -- InputSource clone() /** * Get the path/URL of the POM or {@code null} if unknown. * * @return String */ public String getLocation() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Nov 22 13:26:01 UTC 2022 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ClassLoaderObjectInputStream.java
private final JavaVersion version; public UnsupportedClassVersionErrorWithJavaVersion(UnsupportedClassVersionError cause, JavaVersion version) { super(cause.getMessage()); initCause(cause); this.version = version; } public JavaVersion getVersion() { return version; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dns.kt
return InetAddress.getAllByName(hostname).toList() } catch (e: NullPointerException) { throw UnknownHostException("Broken system behaviour for dns lookup of $hostname").apply { initCause(e) } } } } }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0)