]> git.somenet.org - pub/jan/dst18.git/blob - ass2-service/api/src/main/java/dst/ass2/service/api/courseplan/CourseNotAvailableException.java
Add template for assignment 2
[pub/jan/dst18.git] / ass2-service / api / src / main / java / dst / ass2 / service / api / courseplan / CourseNotAvailableException.java
1 package dst.ass2.service.api.courseplan;
2
3 /**
4  * Exception indicating that a desired course is unavailable, either because it has no further capacity, or is a premium
5  * course and the requesting participant does not have a premium membership.
6  */
7 public class CourseNotAvailableException extends Exception {
8
9     public CourseNotAvailableException(String message) {
10         super(message);
11     }
12
13     public CourseNotAvailableException(String message, Throwable cause) {
14         super(message, cause);
15     }
16 }