- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for initCauses (0.18 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) -
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) -
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) -
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) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java
} } private RuntimeException maybeEndOfStream(KryoException e) throws EOFException { if (e.getMessage().equals("Buffer underflow.")) { throw (EOFException) new EOFException().initCause(e); } throw e; } @Override public byte readByte() throws EOFException { try { return input.readByte(); } catch (KryoException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
else if (t instanceof Exception) throw (Exception) t; else { AssertionFailedError afe = new AssertionFailedError(t.toString()); afe.initCause(t); throw afe; } } if (Thread.interrupted()) throw new AssertionFailedError("interrupt status set in main thread"); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 37.7K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/DefaultBuildController.java
} } catch (UnknownModelException e) { throw (InternalUnsupportedModelException) new InternalUnsupportedModelException().initCause(e); } return new ProviderBuildResult<>(model); } @Override public boolean getCanQueryProjectModelInParallel(Class<?> modelType) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 08:56:14 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java
} } private RuntimeException maybeEndOfStream(KryoException e) throws EOFException { if (e.getMessage().equals("Buffer underflow.")) { throw (EOFException) new EOFException().initCause(e); } throw e; } @Override public byte readByte() throws EOFException { try { return input.readByte(); } catch (KryoException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 7.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
private fun <E : IOException?> timeoutExit(cause: E): E { if (timeoutEarlyExit) return cause if (!timeout.exit()) return cause val e = InterruptedIOException("timeout") if (cause != null) e.initCause(cause) @Suppress("UNCHECKED_CAST") // E is either IOException or IOException? return e as E } /** * Stops applying the timeout before the call is entirely complete. This is used for WebSockets
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 17.9K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java
Throwable reconstructed = (Throwable) constructor.newInstance(message); if (!causes.isEmpty()) { reconstructed.initCause(causes.get(0)); } reconstructed.setStackTrace(convertStackTrace(stackTrace)); registerSuppressedExceptions(suppressed, reconstructed); return reconstructed;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 16.6K bytes - Viewed (0)