gcube-ckan-datacatalog/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/shared/ex/NoGRSFRecordException.java

29 lines
642 B
Java

package org.gcube.portlets.gcubeckan.gcubeckandatacatalog.shared.ex;
/**
* This is thrown when the Manage product is pushed on a product that has
* a Record Type field of Source.
* @author Costantino Perciante at ISTI-CNR
* (costantino.perciante@isti.cnr.it)
*/
public class NoGRSFRecordException extends Exception {
private static final long serialVersionUID = 721315478405659218L;
private String errorMessage;
public NoGRSFRecordException() {
super();
}
public NoGRSFRecordException(String errorMessage) {
super();
this.errorMessage = errorMessage;
}
public String getErrorMessage() {
return errorMessage;
}
}