Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ExceptionReplacingObjectOutputStream (0.44 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionReplacingObjectOutputStream.java

                }
            }
        };
    
        public ExceptionReplacingObjectOutputStream(OutputStream outputSteam) throws IOException {
            super(outputSteam);
            enableReplaceObject(true);
        }
    
        public final InternalTransformer<ExceptionReplacingObjectOutputStream, OutputStream> getObjectOutputStreamCreator() {
            return new InternalTransformer<ExceptionReplacingObjectOutputStream, OutputStream>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializerObjectOutputStream.java

    import org.gradle.internal.serialize.ExceptionReplacingObjectOutputStream;
    import org.gradle.internal.serialize.TopLevelExceptionPlaceholder;
    
    import java.io.IOException;
    import java.io.ObjectStreamClass;
    import java.io.OutputStream;
    
    class PayloadSerializerObjectOutputStream extends ExceptionReplacingObjectOutputStream {
        static final int SAME_CLASSLOADER_TOKEN = 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/TopLevelExceptionPlaceholder.java

    public class TopLevelExceptionPlaceholder extends ExceptionPlaceholder {
        private static final long serialVersionUID = 1L;
        public TopLevelExceptionPlaceholder(Throwable throwable, InternalTransformer<ExceptionReplacingObjectOutputStream, OutputStream> objectOutputStreamCreator) throws IOException {
            super(throwable, objectOutputStreamCreator, new HashSet<Throwable>(10));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Message.java

         * @param outputSteam stream to serialize onto
         */
        public static void send(Object message, OutputStream outputSteam) throws IOException {
            ObjectOutputStream oos = new ExceptionReplacingObjectOutputStream(outputSteam);
            try {
                oos.writeObject(message);
            } finally {
                oos.flush();
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top