(String gameId)
| 28 | } |
| 29 | |
| 30 | public Game loadGame(String gameId) throws GameNotFoundException { |
| 31 | Game game = mapper.load(Game.class, gameId); |
| 32 | if ( game == null ) { |
| 33 | throw new GameNotFoundException(gameId); |
| 34 | } |
| 35 | return game; |
| 36 | } |
| 37 | |
| 38 | public List<Game> loadGames(String sessionId) throws SessionNotFoundException { |
| 39 | if ( sessionModel.loadSession(sessionId) == null ) { |
no outgoing calls
no test coverage detected