Project

General

Profile

1 48332 claudio.at
package eu.dnetlib.openaire.exporter.datasource;
2 44743 claudio.at
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 46718 claudio.at
12
	public ApiException (int code, String msg, Throwable e) {
13
		super(msg, e);
14
		this.code = code;
15
	}
16 44743 claudio.at
}