Merge pull request #22 from PM2-IT21bWIN-ruiz-mach-krea/Exception

Exception
This commit is contained in:
romanschenk37 2022-03-18 09:21:53 +01:00 committed by GitHub Enterprise
commit d02c04f91d
2 changed files with 12 additions and 2 deletions

View File

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

View File

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