Project

General

Profile

1
package eu.dnetlib.repo.manager.exception;
2

    
3
import java.io.IOException;
4

    
5
//@ResponseStatus(HttpStatus.GATEWAY_TIMEOUT)
6
public class EndPointException extends IOException {
7

    
8
    public EndPointException() {
9
            super("Endpoint not responding!");
10
        }
11

    
12
    public EndPointException(String url) {
13
            super("Endpoint with url: " + url + " not responding!");
14
        }
15

    
16
}
(1-1/3)