Skip to content

Commit 938d5f3

Browse files
committed
fixed compile errors
1 parent a52bd2f commit 938d5f3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

project/src/main/java/de/earthlingz/oerszebra/BoardView.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
import android.graphics.Typeface;
3333
import android.os.CountDownTimer;
3434
import android.util.AttributeSet;
35+
import android.util.Log;
3536
import android.view.KeyEvent;
3637
import android.view.MotionEvent;
3738
import android.view.View;
3839

3940
import com.shurik.droidzebra.CandidateMove;
40-
import com.shurik.droidzebra.EngineError;
4141
import com.shurik.droidzebra.InvalidMove;
4242
import com.shurik.droidzebra.Move;
4343
import com.shurik.droidzebra.ZebraEngine;
@@ -523,8 +523,7 @@ private void updateSelection(int bX, int bY, boolean bMakeMove, boolean bShowSel
523523
try {
524524
getDroidZebra().makeMove(mMoveSelection);
525525
} catch (InvalidMove e) {
526-
} catch (EngineError e) {
527-
getDroidZebra().FatalError(e.getError());
526+
Log.e("BoardView", e.getMessage(), e);
528527
}
529528
}
530529
}

0 commit comments

Comments
 (0)