Guard against naughtiness, intentional and not.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5446 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-10-14 23:16:39 +00:00
parent c914827458
commit de6558a25b
@@ -200,7 +200,11 @@ public class PlaceManager
}); });
// let derived classes do initialization stuff // let derived classes do initialization stuff
didInit(); try {
didInit();
} catch (Throwable t) {
log.warning("Manager choked in didInit()", "where", where(), t);
}
} }
/** /**
@@ -270,7 +274,11 @@ public class PlaceManager
plobj.setAccessController(getAccessController()); plobj.setAccessController(getAccessController());
// let our derived classes do their thang // let our derived classes do their thang
didStartup(); try {
didStartup();
} catch (Throwable t) {
log.warning("Manager choked in didStartup()", "where", where(), t);
}
// since we start empty, we need to immediately assume shutdown // since we start empty, we need to immediately assume shutdown
checkShutdownInterval(); checkShutdownInterval();
@@ -416,7 +424,11 @@ public class PlaceManager
_registry.unmapPlaceManager(this); _registry.unmapPlaceManager(this);
// let our derived classes and delegates shut themselves down // let our derived classes and delegates shut themselves down
didShutdown(); try {
didShutdown();
} catch (Throwable t) {
log.warning("Manager choked in didShutdown()", "where", where(), t);
}
} }
// documentation inherited from interface // documentation inherited from interface