String name = pu.readline();
IObjectConstructor constructor = objectConstructors.get(module + "." + name);
if (constructor == null) {
// check if it is an exception
if(module.equals("exceptions")) {
constructor=new AnyClassConstructor(PythonException.class);
} else {
throw new PickleException("unsupported class: " + module + "." + name);
}
}
stack.add(constructor);