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

55 lines
1.2 KiB
Java

package org.gcube.spatial.data.sdi.model.faults;
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
}
private String remoteMessage=null;
private Integer responseHTTPCode=0;
public void setResponseHTTPCode(Integer responseHTTPCode) {
this.responseHTTPCode = responseHTTPCode;
}
public Integer getResponseHTTPCode() {
return responseHTTPCode;
}
public String getRemoteMessage() {
return remoteMessage;
}
public void setRemoteMessage(String remoteMessage) {
this.remoteMessage = remoteMessage;
}
}