dnet45/modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/exception/ServerError.java @ 59584
1 |
package eu.dnetlib.repo.manager.exception; |
---|---|
2 |
|
3 |
public class ServerError { |
4 |
|
5 |
public final String url; |
6 |
public final String error; |
7 |
|
8 |
public ServerError(String url, Exception ex) { |
9 |
this.url = url; |
10 |
this.error = ex.getMessage(); |
11 |
}
|
12 |
|
13 |
public String getUrl() { |
14 |
return this.url; |
15 |
}
|
16 |
|
17 |
public String getError() { |
18 |
return this.error; |
19 |
}
|
20 |
|
21 |
}
|
- « Previous
- 1
- 2
- 3
- Next »