summaryrefslogtreecommitdiff
path: root/src/com/mavlushechka/tictactoe/exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/mavlushechka/tictactoe/exceptions')
-rw-r--r--src/com/mavlushechka/tictactoe/exceptions/IncorrectCoordinatesDiapasonException.java7
-rw-r--r--src/com/mavlushechka/tictactoe/exceptions/OccupiedCellException.java7
2 files changed, 14 insertions, 0 deletions
diff --git a/src/com/mavlushechka/tictactoe/exceptions/IncorrectCoordinatesDiapasonException.java b/src/com/mavlushechka/tictactoe/exceptions/IncorrectCoordinatesDiapasonException.java
new file mode 100644
index 0000000..63b1da1
--- /dev/null
+++ b/src/com/mavlushechka/tictactoe/exceptions/IncorrectCoordinatesDiapasonException.java
@@ -0,0 +1,7 @@
+package com.mavlushechka.tictactoe.exceptions;
+
+public class IncorrectCoordinatesDiapasonException extends Exception {
+ public IncorrectCoordinatesDiapasonException(String errorMessage) {
+ super(errorMessage);
+ }
+} \ No newline at end of file
diff --git a/src/com/mavlushechka/tictactoe/exceptions/OccupiedCellException.java b/src/com/mavlushechka/tictactoe/exceptions/OccupiedCellException.java
new file mode 100644
index 0000000..4da451f
--- /dev/null
+++ b/src/com/mavlushechka/tictactoe/exceptions/OccupiedCellException.java
@@ -0,0 +1,7 @@
+package com.mavlushechka.tictactoe.exceptions;
+
+public class OccupiedCellException extends Exception {
+ public OccupiedCellException(String errorMessage) {
+ super(errorMessage);
+ }
+}