raise exception if load/save session failed