1
|
package eu.dnetlib.openaire.community;
|
2
|
|
3
|
import org.springframework.http.HttpStatus;
|
4
|
import org.springframework.web.bind.annotation.ResponseBody;
|
5
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
6
|
|
7
|
@ResponseBody
|
8
|
@ResponseStatus(value = HttpStatus.NOT_FOUND)
|
9
|
public class CommunityNotFoundException extends Exception {
|
10
|
|
11
|
public CommunityNotFoundException(final String msg) {
|
12
|
super(msg);
|
13
|
}
|
14
|
|
15
|
public CommunityNotFoundException(final Exception e) {
|
16
|
super(e);
|
17
|
}
|
18
|
}
|