}
} catch (final InstantiationException e) {
logger.logp(Level.SEVERE, this.getClass().toString(), "readObject(int)",
"Could not access constructor of class '" + bco._className + "'! \n"
+ "Some types may require the annotation SavableFactory. Please double check.", e);
throw new Ardor3dException(e);
} catch (final NoSuchMethodException e) {
logger
.logp(
Level.SEVERE,
this.getClass().toString(),
"readObject(int)",
e.getMessage()
+ " \n"
+ "Method specified in annotation does not appear to exist or has an invalid method signature.",
e);
throw new Ardor3dException(e);
}
_capsuleTable.put(out, cap);
_contentTable.put(id, out);
out.read(_capsuleTable.get(out));
_capsuleTable.remove(out);
return out;
} catch (final Ardor3dException e) {
// rethrow our own exceptions
throw e;
} catch (final Exception e) {
logger.logp(Level.SEVERE, this.getClass().toString(), "readObject(int)", "Exception", e);
throw new Ardor3dException(e);
}
}