code: private void writeObject(ObjectOutputStream out) throws IOException {
          if (!_peer.equals(this) && !(_peer instanceof Serializable)) {
              throw new IOException("Bean context child delegate does not support serialization!!!");
          }
          out.defaultWriteObject();
      }
docs: Serialization support -- throw IOException if a non-serializable delegate is present.
  
  @param out