throw new SpagoBIServiceException(SERVICE_NAME,"sbi.ds.testError", e);
}
} else if (serviceType != null && serviceType.equalsIgnoreCase(DataSetConstants.DATASET_DELETE)) {
Integer dsID = getAttributeAsInteger(DataSetConstants.ID);
try {
dsDao.deleteDataSet(dsID);
logger.debug("Dataset deleted");
writeBackToClient( new JSONAcknowledge("Operation succeded") );
} catch (Throwable e) {
logger.error("Exception occurred while retrieving dataset to delete", e);
throw new SpagoBIServiceException(SERVICE_NAME,"sbi.ds.deleteDsError", e);