- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for PlaceholderException (0.54 sec)
-
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/PlaceholderException.java
import org.gradle.internal.UncheckedException; import org.gradle.internal.scan.UsedByScanPlugin; import javax.annotation.Nullable; /** * A {@code PlaceholderException} is used when an exception cannot be serialized or deserialized. */ @UsedByScanPlugin public class PlaceholderException extends RuntimeException implements PlaceholderExceptionSupport { private final String exceptionClassName; private final Throwable getMessageException;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/DefaultTestFailureTest.groovy
import org.gradle.internal.serialize.PlaceholderAssertionError import org.gradle.internal.serialize.PlaceholderException import spock.lang.Specification class DefaultTestFailureTest extends Specification { def "uses original exception class name when created with PlaceholderException"() { given: def placeholder = new PlaceholderException("com.acme.OriginalException", "custom message", null, null, null, null) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/exceptions/PlaceholderExceptions.java
* limitations under the License. */ package org.gradle.internal.enterprise.exceptions; import org.gradle.internal.serialize.PlaceholderAssertionError; import org.gradle.internal.serialize.PlaceholderException; import org.gradle.internal.serialize.PlaceholderExceptionSupport; import javax.annotation.Nullable; public class PlaceholderExceptions { public static String getExceptionClassName(Throwable t) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 17 10:17:11 UTC 2023 - 2K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatterTest.groovy
at ClassName.testName(MyTest.java:22) """ } def "formats PlaceholderException correctly"() { testLogging.getShowCauses() >> true testLogging.getShowStackTraces() >> true testLogging.getStackTraceFilters() >> EnumSet.of(TestStackTraceFilter.ENTRY_POINT) def cause = new PlaceholderException(RuntimeException.name, "oops", null, "java.lang.RuntimeException: oops", null, null)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/PlaceholderExceptionTest.groovy
class PlaceholderExceptionTest extends Specification { def "toString() generally produces same output as original exception"() { def original = new Exception("original exception") def placeholder = new PlaceholderException(original.getClass().name, original.message, null, original.toString(), null, original.cause) expect: placeholder.toString() == original.toString() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/ShortExceptionFormatterTest.groovy
*/ package org.gradle.api.internal.tasks.testing.logging import org.gradle.api.tasks.testing.logging.TestLogging import org.gradle.internal.serialize.PlaceholderAssertionError import org.gradle.internal.serialize.PlaceholderException import spock.lang.Specification class ShortExceptionFormatterTest extends Specification { def testDescriptor = new SimpleTestDescriptor() def testLogging = Mock(TestLogging)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ContextualPlaceholderException.java
*/ package org.gradle.internal.serialize; import org.gradle.internal.exceptions.Contextual; import javax.annotation.Nullable; @Contextual public class ContextualPlaceholderException extends PlaceholderException { public ContextualPlaceholderException(String exceptionClassName, @Nullable String message, @Nullable Throwable getMessageException, @Nullable String toString, @Nullable Throwable toStringException, @Nullable Throwable cause) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Message.java
* reason) will be replaced by a {@link PlaceholderException}. * * @param inputSteam stream to read the object from * @param classLoader loader used to load exception classes * @return the de-serialized object */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/PlaceholderAssertionError.java
* limitations under the License. */ package org.gradle.internal.serialize; import org.gradle.internal.UncheckedException; import javax.annotation.Nullable; /** * A {@code PlaceholderException} is used when an assertion error cannot be serialized or deserialized. */ public class PlaceholderAssertionError extends AssertionError implements PlaceholderExceptionSupport { private final String exceptionClassName;
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/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollectorSpec.groovy
package org.gradle.api.internal.tasks.testing.junit.result import org.gradle.api.internal.tasks.testing.* import org.gradle.api.internal.tasks.testing.results.DefaultTestResult import org.gradle.internal.serialize.PlaceholderException import spock.lang.Issue import spock.lang.Specification import static java.util.Arrays.asList import static org.gradle.api.tasks.testing.TestOutputEvent.Destination.StdErr
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 10.3K bytes - Viewed (0)