// bind each one as you go
Iterator it = names.iterator();
while (it.hasNext()) {
String name = String.valueOf(it.next());
Object obj = null;
if (!objin.isFinished()) obj = objin.readObject();
if (obj == null) {
if (canThrowEx()) {
throw new Exception("Could not read object from std-in for name: " + name);
} else {