finished both exceptions.

This commit is contained in:
Leonardo Brandenberger 2022-03-10 15:17:04 +01:00
parent 16d287e273
commit 0fafa3e0e7
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,8 @@
package ch.zhaw.pm2.racetrack; package ch.zhaw.pm2.racetrack;
public class InvalidFileFormatException extends Exception { public class InvalidFileFormatException extends Exception {
// TODO: implementation
public InvalidFileFormatException(String errorMessage) {
super(errorMessage);
}
} }

View File

@ -1,5 +1,7 @@
package ch.zhaw.pm2.racetrack; package ch.zhaw.pm2.racetrack;
public class InvalidTrackFormatException extends Exception { public class InvalidTrackFormatException extends Exception {
// TODO: implementation public InvalidTrackFormatException(String errorMessage) {
super(errorMessage);
}
} }