X-Git-Url: https://git.hedgecode.org/?p=chesshog-scanner.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fhedgecode%2Fchess%2Fscanner%2Fportal%2FChess24Scanner.java;fp=src%2Fmain%2Fjava%2Forg%2Fhedgecode%2Fchess%2Fscanner%2Fportal%2FChess24Scanner.java;h=476bc7ef184a558c993d2bb25a1e062c96627ea3;hp=6d4b18cc50b01625d829731a3ee4934969d96e25;hb=df574e5ec8ae08c1c50adbe30b597cd86e6ab3fa;hpb=25ccd0fd5d5a640bc2dac646f2d760b5d64b989b diff --git a/src/main/java/org/hedgecode/chess/scanner/portal/Chess24Scanner.java b/src/main/java/org/hedgecode/chess/scanner/portal/Chess24Scanner.java index 6d4b18c..476bc7e 100644 --- a/src/main/java/org/hedgecode/chess/scanner/portal/Chess24Scanner.java +++ b/src/main/java/org/hedgecode/chess/scanner/portal/Chess24Scanner.java @@ -16,8 +16,8 @@ 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; @@ -36,34 +36,34 @@ public class Chess24Scanner extends AbstractSettingsScanner implements Scanner { } @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 chess24.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 chess24.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 chess24.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 chess24.com is under development!" ); }