script = aScript;
}
- public void produce( PrintWriter aLogger ) throws ProducerException {
+ public void produce( PrintWriter aLogger ) throws ProducerFailure {
Process process;
int returnValue;
catch (Throwable e) {
aLogger.println("Exception has occurred: " + e.getMessage() + ":");
e.printStackTrace(aLogger);
- throw new ProducerException(e);
+ throw new ProducerFailure("Executing script failed",e);
}
}
}