private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
    stream.defaultReadObject();
    name = (String)stream.readObject();
    state = StateModule.valueOf((String)stream.readObject());
    exception = (Exception)stream.readObject();
  }