package org.hedgecode.chess.scanner.portal;
-import org.hedgecode.chess.scanner.ChessHogScannerException;
import org.hedgecode.chess.scanner.Scanner;
+import org.hedgecode.chess.scanner.ScannerException;
import org.hedgecode.chess.scanner.entity.PGNGame;
import org.hedgecode.chess.scanner.entity.PGNTournament;
}
@Override
- public PGNTournament scanTournament(String tournamentId) throws ChessHogScannerException {
- throw new ChessHogScannerException(
+ public PGNTournament scanTournament(String tournamentId) throws ScannerException {
+ throw new ScannerException(
"The scanner functional of portal chess.com is under development!"
);
}
@Override
- public PGNTournament findTournament(String tournamentName) throws ChessHogScannerException {
- throw new ChessHogScannerException(
+ public PGNTournament findTournament(String tournamentName) throws ScannerException {
+ throw new ScannerException(
"The scanner functional of portal chess.com is under development!"
);
}
@Override
- public PGNGame scanGame(String gameId) throws ChessHogScannerException {
+ public PGNGame scanGame(String gameId) throws ScannerException {
return scanGame(gameId, null);
}
@Override
- public PGNGame scanGame(String gameId, String tournamentId) throws ChessHogScannerException {
- throw new ChessHogScannerException(
+ public PGNGame scanGame(String gameId, String tournamentId) throws ScannerException {
+ throw new ScannerException(
"The scanner functional of portal chess.com is under development!"
);
}
@Override
- public PGNGame scanUrl(String gameUrl) throws ChessHogScannerException {
- throw new ChessHogScannerException(
+ public PGNGame scanUrl(String gameUrl) throws ScannerException {
+ throw new ScannerException(
"The scanner functional of portal chess.com is under development!"
);
}