Merge pull request #22 from PM2-IT21bWIN-ruiz-mach-krea/Exception
Exception
This commit was merged in pull request #22.
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
package ch.zhaw.pm2.racetrack;
|
package ch.zhaw.pm2.racetrack;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class for Exception when invalid Fileformat is used.
|
||||||
|
*/
|
||||||
public class InvalidFileFormatException extends Exception {
|
public class InvalidFileFormatException extends Exception {
|
||||||
// TODO: implementation
|
public InvalidFileFormatException(String errorMessage) {
|
||||||
|
super(errorMessage);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
package ch.zhaw.pm2.racetrack;
|
package ch.zhaw.pm2.racetrack;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class for Exception when invalid track format is used.
|
||||||
|
*/
|
||||||
public class InvalidTrackFormatException extends Exception {
|
public class InvalidTrackFormatException extends Exception {
|
||||||
// TODO: implementation
|
public InvalidTrackFormatException(String errorMessage) {
|
||||||
|
super(errorMessage);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user