code: @Override
      public void writeExternal(ObjectOutput output) throws IOException {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
              Tr.event(tc, "Serializing: " + this);
          }
          super.writeExternal(output);
          output.writeShort(getStatusCodeAsInt());
          writeByteArray(output, this.myReasonBytes);
      }
docs: Write this object instance to the output stream.
  
  @param output
  @throws IOException