I've tried many ways, but I find some exceptions cannot make the spout re-emit. But in my work, I strongly need that, how can I do? I've tried to throw the FailedException, but it seemed useless. This is my code
try {
process.waitFor();
} catch (Exception e) { e.printStackTrace();
throw new FailedException(e);
}