inputStream = getInputStreamFromFileSystem(name);
} else { // its stored in the database
inputStream = getInputStreamFromDb(name);
}
} catch (Exception e) {
throw new JbpmException("couldn't get inputstream for file '" + name + "'", e);
}
return inputStream;
}