new exceptions

This commit is contained in:
ChUrl
2020-12-14 15:04:23 +01:00
parent ba624cf4a0
commit be2d56f7b2
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,8 @@
package typechecker;
public class AssignmentTypeMismatchException extends RuntimeException {
public AssignmentTypeMismatchException(String message) {
super(message);
}
}

View File

@ -0,0 +1,8 @@
package typechecker;
public class OperatorTypeMismatchException extends RuntimeException {
public OperatorTypeMismatchException(String message) {
super(message);
}
}

View File

@ -0,0 +1,8 @@
package typechecker;
public class OperatorUsageException extends RuntimeException {
public OperatorUsageException(String message) {
super(message);
}
}