com.seeq.utilities.exception.RemoteConnectionException Maven / Gradle / Ivy
The newest version!
package com.seeq.utilities.exception;
public class RemoteConnectionException extends RuntimeException {
private static final long serialVersionUID = 2157474118778101996L;
private String datasourceId;
private String datasourceClass;
public RemoteConnectionException(String message) {
super(message);
}
public RemoteConnectionException(String message, Throwable cause) {
super(message, cause);
}
public RemoteConnectionException(String message, String datasourceClass, String datasourceId) {
super(message);
this.datasourceId = datasourceId;
this.datasourceClass = datasourceClass;
}
public RemoteConnectionException(String datasourceClass, String datasourceId) {
this("", datasourceClass, datasourceId);
}
public String getDatasourceId() {
return this.datasourceId;
}
public String getDatasourceClass() {
return this.datasourceClass;
}
}