Class SerializedObjectContainer.DebuggingObjectOutputStream

java.lang.Object
java.io.OutputStream
java.io.ObjectOutputStream
org.pentaho.reporting.libraries.designtime.swing.SerializedObjectContainer.DebuggingObjectOutputStream
All Implemented Interfaces:
Closeable, DataOutput, Flushable, ObjectOutput, ObjectStreamConstants, AutoCloseable
Enclosing class:
SerializedObjectContainer

public static class SerializedObjectContainer.DebuggingObjectOutputStream extends ObjectOutputStream
  • Constructor Details

  • Method Details

    • replaceObject

      protected Object replaceObject(Object o)
      Abuse replaceObject() as a hook to maintain our stack.
      Overrides:
      replaceObject in class ObjectOutputStream
    • getStack

      public List<Object> getStack()
      Returns the path to the last object serialized. If an exception occurred, this should be the path to the non-serializable object.
      Returns:
      Returns the current call stack.