You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
630 B
25 lines
630 B
package seng302.Exceptions;
|
|
|
|
/**
|
|
* An exception thrown when we cannot parse a polar data file.
|
|
*/
|
|
public class InvalidPolarFileException extends RuntimeException {
|
|
|
|
/**
|
|
* Constructs the exception with a given message.
|
|
* @param message Message to store.
|
|
*/
|
|
public InvalidPolarFileException(String message) {
|
|
super(message);
|
|
}
|
|
|
|
/**
|
|
* Constructs the exception with a given message and cause.
|
|
* @param message Message to store.
|
|
* @param cause Cause to store.
|
|
*/
|
|
public InvalidPolarFileException(String message, Throwable cause) {
|
|
super(message, cause);
|
|
}
|
|
}
|