gICS_2.8.6
UnknownPolicyException.java
1 package org.emau.icmvc.ganimed.ttp.cm2.exceptions;
2 
3 /*
4  * ###license-information-start###
5  * gICS - a Generic Informed Consent Service
6  * __
7  * Copyright (C) 2014 - 2018 The MOSAIC Project - Institut fuer Community
8  * Medicine of the University Medicine Greifswald -
9  * mosaic-projekt@uni-greifswald.de
10  *
11  * concept and implementation
12  * l.geidel
13  * web client
14  * a.blumentritt, m.bialke
15  *
16  * Selected functionalities of gICS were developed as part of the MAGIC Project (funded by the DFG HO 1937/5-1).
17  *
18  * please cite our publications
19  * http://dx.doi.org/10.3414/ME14-01-0133
20  * http://dx.doi.org/10.1186/s12967-015-0545-6
21  * http://dx.doi.org/10.3205/17gmds146
22  * __
23  * This program is free software: you can redistribute it and/or modify
24  * it under the terms of the GNU Affero General Public License as published by
25  * the Free Software Foundation, either version 3 of the License, or
26  * (at your option) any later version.
27  *
28  * This program is distributed in the hope that it will be useful,
29  * but WITHOUT ANY WARRANTY; without even the implied warranty of
30  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31  * GNU General Public License for more details.
32  *
33  * You should have received a copy of the GNU Affero General Public License
34  * along with this program. If not, see <http://www.gnu.org/licenses/>.
35  * ###license-information-end###
36  */
37 
38 
45 public class UnknownPolicyException extends Exception {
46 
47  private static final long serialVersionUID = 1617057030933824276L;
48 
49  public UnknownPolicyException() {
50  super();
51  }
52 
53  public UnknownPolicyException(String message, Throwable cause) {
54  super(message, cause);
55  }
56 
57  public UnknownPolicyException(String message) {
58  super(message);
59  }
60 
61  public UnknownPolicyException(Throwable cause) {
62  super(cause);
63  }
64 }
should be thrown when the given policy is not known for the given domain