| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | broken
Indicates whether or not OOS has tried to write an IOException (presumably as the result of a serialization error) to the stream. |
| private static final Field | |
| pack-priv final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | currentDepth()
Returns a 0-based depth within the object graph of the current object being serialized. |
| public List | |
| private Object | |
| protected Object | replaceObject(Object
the object to be replaced o)Overrides java. replaceObject() as a hook to
maintain our stack.
|
| private void |
| broken | back to summary |
|---|---|
| pack-priv boolean broken Indicates whether or not OOS has tried to write an IOException (presumably as the result of a serialization error) to the stream. | |
| DEPTH_FIELD | back to summary |
|---|---|
| private static final Field DEPTH_FIELD | |
| stack | back to summary |
|---|---|
| pack-priv final List<Object> stack | |
| DebugObjectOutputStream | back to summary |
|---|---|
| public DebugObjectOutputStream(OutputStream out) throws IOException | |
| currentDepth | back to summary |
|---|---|
| private int currentDepth() Returns a 0-based depth within the object graph of the current object being serialized. | |
| getStack | back to summary |
|---|---|
| public List Returns the path to the last object serialized. If an exception occurred, this should be the path to the non-serializable object. | |
| pop | back to summary |
|---|---|
| private Object pop() | |
| replaceObject | back to summary |
|---|---|
| protected Object replaceObject(Object o) Overrides java. Abuse
| |
| truncate | back to summary |
|---|---|
| private void truncate(int depth) | |