private void error(String description, Exception e) { close(); throw new AutomatonExportException(description, e); }
/** * Close the process (if needed), and raise an error * * @param description the error description */ private void error(String description) { Hyst.logDebug(description); close(); throw new AutomatonExportException(description); }