-Require-Bundle: org.eclipse.rap.ui,org.eclipse.core.runtime
-Import-Package: org.apache.commons.io,\
-org.argeo,\
-org.springframework.beans.factory,\
-org.springframework.core.io.support,\
-!org.eclipse.rwt.widgets,\
-!org.eclipse.core.runtime,\
-!org.eclipse.core.commands,\
-!org.eclipse.ui.plugin,\
+Import-Package: org.eclipse.swt,\
+ org.eclipse.jface.dialogs,\
*
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;