- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 86 for initCauses (0.2 sec)
-
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) -
guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java
} } catch (MalformedURLException e) { AssertionError error = new AssertionError("malformed class path entry: " + entry); error.initCause(e); throw error; } } return urls.build().toArray(new URL[0]); } /** Returns the URLs in the class path. */ static URL[] getClassPathUrls() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 13 20:26:15 UTC 2017 - 2.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) -
subprojects/core/src/main/java/org/gradle/internal/exceptions/ContextAwareException.java
import javax.annotation.Nullable; import java.util.ArrayList; import java.util.List; public class ContextAwareException extends GradleException { public ContextAwareException(Throwable t) { initCause(t); } /** * Returns the reportable causes for this failure. * * @return The causes. Never returns null, returns an empty list if this exception has no reportable causes. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 13:32:53 UTC 2024 - 3.2K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java
return new TunnelingUnixSocket(path, channel, endpoint); } catch (ClosedChannelException e) { SocketException exception = new SocketException(); exception.initCause(e); throw exception; } } @Override public void close() throws IOException { serverSocketChannel.close(); } }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Feb 12 16:33:52 UTC 2019 - 3.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/RetryConnectionTest.kt
assertThat(retryTlsHandshake(exception)).isFalse() } @Test fun nonRetryableSSLHandshakeException() { val exception = SSLHandshakeException("Certificate handshake exception").apply { initCause(CertificateException()) } assertThat(retryTlsHandshake(exception)).isFalse() } @Test fun retryableSSLHandshakeException() { assertThat(retryTlsHandshake(retryableException)).isTrue() }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/BuildModelActionRunner.java
RuntimeException clientFailure = e; if (createAction.modelLookupFailure != null) { clientFailure = (RuntimeException) new InternalUnsupportedModelException().initCause(createAction.modelLookupFailure); } return Result.failed(e, clientFailure); } } private static class ModelCreateAction implements BuildTreeModelAction<Object> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java
* @param cause The nested cause of this error, may be {@code null}. */ public MetadataParseException(String message, int lineNumber, int columnNumber, Throwable cause) { super(message); initCause(cause); this.lineNumber = lineNumber; this.columnNumber = columnNumber; } /** * Gets the one-based index of the line containing the error. *
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 3K bytes - Viewed (0)