Exception #22

Merged
brandleo merged 3 commits from Exception into main 2022-03-18 09:21:53 +01:00
2 changed files with 6 additions and 0 deletions
Showing only changes of commit dca575999e - Show all commits

View File

@ -1,5 +1,8 @@
package ch.zhaw.pm2.racetrack;
/**
* Class for Exception when invalid Fileformat is used.
*/
public class InvalidFileFormatException extends Exception {
public InvalidFileFormatException(String errorMessage) {
super(errorMessage);

View File

@ -1,5 +1,8 @@
package ch.zhaw.pm2.racetrack;
/**
* Class for Exception when invalid track format is used.
*/
public class InvalidTrackFormatException extends Exception {
public InvalidTrackFormatException(String errorMessage) {
super(errorMessage);