code: public void writeObject(java.io.DataOutputStream dataOutputStream)
                      throws ObjectManagerException
      {
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.entry(this, cclass, "writeObject"
                          , "dataOutputStream=" + dataOutputStream);
  
          try
          {
              dataOutputStream.writeByte(SimpleSerialVersion);
              dataOutputStream.writeLong(identifier);
              if (XID == null)
              {
                  dataOutputStream.writeByte(0);
              }
              else
              { // Non null XID.
                  dataOutputStream.writeByte(XID.length);
                  dataOutputStream.write(XID);
              } // if (XID == null).
  
          } catch (java.io.IOException exception) {
              // No FFDC Code Needed.
              ObjectManager.ffdc.processException(this, cclass, "writeObject", exception, "1:177:1.9");
  
              if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
                  trace.exit(this, cclass, "writeObject");
              throw new PermanentIOException(this, exception);
          } // catch (java.io.IOException exception).
  
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.exit(this, cclass, "writeObject");
      }
docs: Simplified serialization.
  
  @param java.io.DataOutputStream to write the serialized Object into.