Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for PlaceholderException (0.34 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonMessageSerializerTest.groovy

    import org.gradle.internal.logging.events.UserInputResumeEvent
    import org.gradle.internal.logging.events.YesNoQuestionPromptEvent
    import org.gradle.internal.serialize.DefaultSerializer
    import org.gradle.internal.serialize.PlaceholderException
    import org.gradle.internal.serialize.Serializer
    import org.gradle.internal.serialize.SerializerSpec
    import org.gradle.launcher.daemon.diagnostics.DaemonDiagnostics
    import org.gradle.launcher.exec.BuildActionResult
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/MessageTest.groovy

                def Object o = new Object()
            }
    
            when:
            def transported = transport(broken)
    
            then:
            transported.class == PlaceholderException
            transported.cause == null
            transported.stackTrace.length == 0
    
            when:
            transported.message
    
            then:
            RuntimeException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

                    } else {
                        placeholder = new PlaceholderException(type, message, getMessageExec, toString, toStringRuntimeExec, causes.isEmpty() ? null : causes.get(0));
                    }
                }
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.internal.serialize.PlaceholderException> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (PlaceholderException.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top