Project

General

Profile

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
}
(1-1/4)