import javax.servlet.http.HttpServletResponse;
import org.apache.commons.io.FileUtils;
-import org.argeo.ArgeoException;
import org.eclipse.rap.rwt.service.ServiceHandler;
/**
return FileUtils.readFileToByteArray(new File(
getFilePathFromUri(uri)));
} catch (IOException ioe) {
- throw new ArgeoException("Error getting the file at " + uri,
- ioe);
+ throw new SingleSourcingException("Error getting the file at "
+ + uri, ioe);
}
}
return null;