gcube-sdi-suite/sdi-interface/src/main/java/org/gcube/spatial/data/sdi/model/faults/RemoteException.java

46 lines
965 B
Java
Raw Normal View History

2021-02-12 16:39:58 +01:00
package org.gcube.spatial.data.sdi.model.faults;
2021-04-09 18:15:10 +02:00
import lombok.Data;
2021-02-17 13:32:27 +01:00
2021-04-09 18:15:10 +02:00
@Data
2021-02-12 16:39:58 +01:00
public class RemoteException extends Exception {
/**
*
*/
private static final long serialVersionUID = 3758504937629040958L;
public RemoteException() {
// TODO Auto-generated constructor stub
}
public RemoteException(String message) {
super(message);
// TODO Auto-generated constructor stub
}
public RemoteException(Throwable cause) {
super(cause);
// TODO Auto-generated constructor stub
}
public RemoteException(String message, Throwable cause) {
super(message, cause);
// TODO Auto-generated constructor stub
}
public RemoteException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
// TODO Auto-generated constructor stub
}
2021-04-09 18:15:10 +02:00
private String remoteMessage=null;
2021-02-16 18:03:10 +01:00
private Integer responseHTTPCode=0;
2021-04-09 18:15:10 +02:00
private String content=null;
2021-02-16 18:03:10 +01:00
2021-02-12 16:39:58 +01:00
}