/* */ }
/* */
/* */ public SceneGraphObjectState readObject(DataInput in) throws IOException {
/* 298 */ int classID = in.readInt();
/* */
/* 300 */ SceneGraphObjectState state = null;
/* */
/* 302 */ if (classID == -1)
/* 303 */ return this.nullObject;
/* 304 */ if (classID == 0) {
/* 305 */ String stateClassName = in.readUTF();
/* */ try
/* */ {
/* 308 */ Class cl = Class.forName(stateClassName, true, this.classLoader);
/* */
/* 310 */ Constructor construct = cl.getConstructor(new Class[] { SymbolTableData.class, Controller.class });
/* */
/* 316 */ state = (SceneGraphObjectState)construct.newInstance(new Object[] { null, this });
/* */ }
/* */ catch (ClassNotFoundException e)
/* */ {
/* 321 */ throw new IOException("Error Loading State Class " + stateClassName + " " + e.getMessage());
/* */ } catch (NoSuchMethodException ex) {
/* 323 */ throw new IOException("1 Broken State class for " + stateClassName + " " + ex.getMessage());
/* */ }
/* */ catch (InvocationTargetException exc) {
/* 326 */ exc.printStackTrace();
/* 327 */ throw new IOException("2 Broken State class for " + stateClassName);
/* */ }
/* */ catch (IllegalAccessException exce) {
/* 330 */ throw new IOException("3 Broken State class for " + stateClassName);
/* */ }
/* */ catch (InstantiationException excep) {
/* 333 */ throw new IOException("4 Broken State class for " + stateClassName);
/* */ }
/* */ }
/* */ else {
/* 337 */ state = createCoreState(classID);
/* */ }
/* */
/* 340 */ state.readObject(in);
/* */
/* 342 */ return state;
/* */ }