);
if (!StringUtils.isPgn(pgn)) {
throw new ScannerException(
- String.format("Failed to get PGN for requesting game ID: %s", gameId)
+ "scanner.failed.request.game", gameId
);
}
return new PGNGame(
);
if (pgn == null || !StringUtils.isPgn(pgn)) {
throw new ScannerException(
- String.format("Failed to get PGN for requesting URL: %s", gameUrl)
+ "scanner.failed.request.url", gameUrl
);
}
return new PGNGame(