dnet45/modules/uoa-repository-manager-service/branches/dev-api/src/main/java/eu/dnetlib/repo/manager/exception/EndPointException.java @ 54745
1 |
package eu.dnetlib.repo.manager.exception; |
---|---|
2 |
|
3 |
import org.springframework.http.HttpStatus; |
4 |
import org.springframework.web.bind.annotation.ResponseStatus; |
5 |
|
6 |
import java.io.IOException; |
7 |
|
8 |
//@ResponseStatus(HttpStatus.GATEWAY_TIMEOUT)
|
9 |
public class EndPointException extends IOException { |
10 |
|
11 |
public EndPointException() { |
12 |
super("Endpoint not responding!"); |
13 |
}
|
14 |
|
15 |
public EndPointException(String url) { |
16 |
super("Endpoint with url: " + url + " not responding!"); |
17 |
}
|
18 |
|
19 |
}
|