_logger.log(Level.WARNING, "ejb.sfsb_storemgr_savestate_failed",
new Object[] {fileName});
_logger.log(Level.WARNING, "ejb.sfsb_storemgr_savestate_exception", ex);
try { removeFile(file); } catch (Exception ex1) {}
String errMsg = "Could not save session: " + beanState.getId();
throw new SFSBStoreManagerException(errMsg, ex);
} finally {
try {
if (bos != null) bos.close();
} catch (Exception ex) {
_logger.log(Level.FINE, "Error while closing buffered output stream", ex);