Added javadocs to exceptions.
This commit is contained in:
parent
6080b48b82
commit
dca575999e
|
@ -1,5 +1,8 @@
|
||||||
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 {
|
||||||
public InvalidFileFormatException(String errorMessage) {
|
public InvalidFileFormatException(String errorMessage) {
|
||||||
super(errorMessage);
|
super(errorMessage);
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
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 {
|
||||||
public InvalidTrackFormatException(String errorMessage) {
|
public InvalidTrackFormatException(String errorMessage) {
|
||||||
super(errorMessage);
|
super(errorMessage);
|
||||||
|
|
Loading…
Reference in New Issue