dnet45/modules/dnet-openaire-exporter/trunk/src/main/java/eu/dnetlib/openaire/exporter/datasource/ApiException.java @ 48733
1 |
package eu.dnetlib.openaire.exporter.datasource; |
---|---|
2 |
|
3 |
public class ApiException extends Exception { |
4 |
|
5 |
private int code; |
6 |
|
7 |
public ApiException (int code, String msg) { |
8 |
super(msg); |
9 |
this.code = code; |
10 |
}
|
11 |
|
12 |
public ApiException (int code, String msg, Throwable e) { |
13 |
super(msg, e); |
14 |
this.code = code; |
15 |
}
|
16 |
}
|