throw new KernelRuntimeException("Could not save in "
+ "library, '" + object + "' is not an Entity");
}
Entity entity = (Entity) object;
Configuration configuration = (Configuration) effigy.toplevel();
try {
UserActorLibrary.saveComponentInLibrary(configuration, entity);
} catch (Exception ex) {
// We catch exceptions here because this method used to
// not throw Exceptions, and we don't want to break