[LIB-13] Rename some common classes
[chesshog-scanner.git] / src / main / java / org / hedgecode / chess / scanner / portal / Chess24Scanner.java
index 6d4b18c..476bc7e 100644 (file)
@@ -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!"
         );
     }